Skip to content

Truly independent web browser

323 B
Raw Blame
<!DOCTYPE html>
<style>
    img {
        width: 50px;
        height: 50px;
        vertical-align: middle;
    }
</style>
<p>before image <img src="../data/smiley.png"> after image</p>
<p id="other">The selection ends up here</p>
<script>
    getSelection().selectAllChildren(document.getElementById("other"));
</script>