Posted By

jatkins on 01/13/08


css template html xhtml doctype stylesheet templates charset doctypes

Versions (?)

Who likes this?

4 people have marked this snippet as a favorite


XHTML 1.0 Strict Template (DOCTYPE, charset, stylesheet)

 / Published in: HTML

100% valid (validates against the W3C's validator).

Add profile="" to the 'head' element for social stuff.

Stylesheet media type is "all", so you can do different media types in one file (

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
  2. <html xmlns="" lang="en" xml:lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link rel="stylesheet" type="text/css" media="all" href="" />
  6. </head>
  7. <body>
  8. </body>
  9. </html>

Report this snippet  

You need to login to post a comment.