W3C QA - Recommended list of Doctype declarations you can use in your Web document


/ Published in: HTML
Save to your folder(s)

doctypes


Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.  
  5. <title>An XHTML 1.0 Strict standard template</title>
  6. <meta http-equiv="content-type"
  7. content="text/html;charset=utf-8" />
  8. </head>
  9.  
  10.  
  11. <p>%u2026 Your HTML content here %u2026</p>
  12.  
  13. </body>
  14. </html>

URL: http://www.w3.org/QA/2002/04/valid-dtd-list.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.