Difference between revisions of "Recommended DocTypes"

From Joomla! Documentation

m (added nowiki tags to prevent parsing od DTD urls, link to W3C article with DTD sources)
m (whitespace cleanup)
Line 9: Line 9:
 
* XHTML 1.1 DTD: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"></nowiki>
 
* XHTML 1.1 DTD: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"></nowiki>
 
* HTML5: <!DOCTYPE html>
 
* HTML5: <!DOCTYPE html>
 
+
<noinclude>[[Category:Reference]][[Category:Templates]][[Category:Itemised lists]]</noinclude>
<noinclude>[[Category:Reference]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Itemised lists]]</noinclude>
 

Revision as of 05:04, 15 September 2011

List of recommended DocTypes for different circumstances:-

  • HTML 4.01 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  • HTML 4.01 Transitional: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  • HTML 4.01 Frameset: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
  • XHTML 1.0 Strict: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  • XHTML 1.0 Transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  • XHTML 1.0 Frameset: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  • XHTML 1.1 DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  • HTML5: <!DOCTYPE html>