We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

jonhenshaw on 06/29/06


Tagged

start xhtml strict page


Versions (?)


Who likes this?

27 people have marked this snippet as a favorite

tylerhall
luxuryluke
alvaroisorna
panatlantica
jkochis
xurde
hxseven
mbadran
shazburg
yu_industries
laurent
basicmagic
banjomamo
stellar
zingo
mjlassila
Mikker
manub
fael
swiggy
arala22
visuallyspun
jmelgoza
adamsimms
unravelme1
Theanthrope
Kerrick


XHTML 1.1 Strict Starter Page


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).

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  4. <title>untitled</title>
  5. <meta name="description" content="content" />
  6. <link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen" />
  7. <link rel="stylesheet" href="/css/print.css" type="text/css" media="print" />
  8. <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
  9. </head>
  10. <div id="header">
  11.  
  12. </div>
  13. <div id="nav">
  14.  
  15. </div>
  16. <div id="main">
  17.  
  18. </div>
  19. <div id="footer">
  20.  
  21. </div>
  22. </body>
  23. </html>

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: Kerrick on July 28, 2008

Wonderful! Exactly what I was looking for: A template without filler text, but with everything you could need.

You need to login to post a comment.