Posted By

nerdfiles on 09/29/09


Tagged

xhtml doctype xml html4 rdfa


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

LeeRJohnson


Various nonubiquitous and nonstandard HTML/XML DTDs


 / Published in: HTML
 

HTML 5: Obviously nonubiquitous because of its age. I use it more or less sparingly. HTML 4.01 Strict: Where you go once you realize that you've been using XHTML without educated reason other than that it also functions as a higher buzzword in the "Web 2.0" "community."

  1. <!--
  2. Name: HTML 5
  3. URL: http://www.w3.org/TR/html5/
  4. -->
  5.  
  6. <!doctype html>
  7. <!-- I &heart; HTML5 -->
  8.  
  9. <!--
  10. Name: HTML 4.01 Strict
  11. URL: http://www.w3.org/TR/html4/
  12. -->
  13.  
  14. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  15.  
  16. <!--
  17. Name: HTML 4.01 Plus
  18. URL: http://buzzword.org.uk/2008/html4plus-example.html
  19. -->
  20.  
  21. <!DOCTYPE html PUBLIC "+//IDN buzzword.org.uk//DTD HTML 4.01 Plus//EN" "http://buzzword.org.uk/2008/html4plus.dtd">
  22.  
  23. <!--
  24. Name: XHTML+RDFa 1.0
  25. URL: http://rdfa.info/wiki/How-to-validate
  26. -->
  27.  
  28. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
  29.  
  30. <!--
  31. Name: XHTML 1.1
  32. URL: http://www.w3.org/TR/xhtml11/
  33. -->
  34.  
  35. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  36.  
  37. <!--
  38. Name: XHTML Basic 1.1
  39. URL: http://www.w3.org/TR/xhtml11/
  40. -->
  41.  
  42. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
  43.  
  44. <!--
  45. Name: XHTML MP 1.2
  46. URL: http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd%22
  47. -->
  48.  
  49. <!DOCTYPE html PUBLIC "-//OMA//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

Report this snippet  

You need to login to post a comment.