Posted By

flicity on 11/24/09


Versions (?)

XHTML doctype

 / Published in: XHTML


Use the strict DOCTYPE when you want really clean markup, free of presentational clutter. Use it together with CSS.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "">
  4. <html xmlns="" xml:lang="en" lang="en" dir="ltr">
  5. <title>simple document</title>
  6. </head>
  7. <p>a simple paragraph</p>
  8. </body>
  9. </html>

Report this snippet  

You need to login to post a comment.