/ Published in: HTML
This is the general page template that I usually start with. It has all of the essentials (along with a favicon link - not essential).
Expand |
Embed | Plain Text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="description" content="content" /> <link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen" /> <link rel="stylesheet" href="/css/print.css" type="text/css" media="print" /> <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" /> </head> <body> <div id="header"> </div> <div id="nav"> </div> <div id="main"> </div> <div id="footer"> </div> </body> </html>
Comments
Subscribe to comments
You need to login to post a comment.

Wonderful! Exactly what I was looking for: A template without filler text, but with everything you could need.
Please note that this is not valid XHTML 1.1, the content-type is text/html which is not allowed on 1.1 and up
The content-type of XHTML 1.1 and up must be one of: application/xhtml+xml application/xml text/xml
However, the content-type of XHTML 1.0 must be one of: text/html application/xhtml+xml application/xml text/xml
This means that internet explorer does not currently support XHTML 1.1 Also see: http://www.w3.org/TR/xhtml-media-types/#summary