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

Corhol on 07/19/06


Tagged

template html xhtml doctype


Versions (?)


Who likes this?

7 people have marked this snippet as a favorite

meth
jkochis
Leech
markhope
oronm
neuroasis
vali29


Doctype Template


Published in: HTML 


  1. <!-- HTML Doctypes -->
  2.  
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  4. "http://www.w3.org/TR/html4/strict.dtd">
  5.  
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  7. "http://www.w3.org/TR/html4/loose.dtd">
  8.  
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
  10. "http://www.w3.org/TR/html4/frameset.dtd">
  11.  
  12. <html lang="en">
  13.  
  14. <!-- XHTML Doctypes -->
  15.  
  16. <?xml version="1.0" encoding="UTF-8"?>
  17.  
  18. <!DOCTYPE html
  19. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  20. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  21.  
  22. <!DOCTYPE html
  23. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  24. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25.  
  26. <!DOCTYPE html
  27. PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  28. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  29.  
  30. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

Report this snippet 

You need to login to post a comment.