Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>↩
<html>↩
<body>↩
↩
<p>Hello World!</p>↩
↩
<div id="complex-div">↩
  <div id="simple-div1">↩
    <p id="useless-para">The DOM is very useful! <em>#useless-para</em></p>↩
    <p id="useful-para">This example is <b id="bold">really</b> useful. <em>#useful-para</em></p>↩
  </div>↩
↩
  <div id="simple-div2">↩
    <p id="another">This is another node. You won't reach this in my test.</p>↩
    <p id="ahoy">Ahoy! How you doin' Capn'? <em>#ahoy</em></p>↩
  </div>↩
</div>↩
↩
</body>↩
</html>