Difference between revisions of "DocType header for templates"

From Joomla! Documentation

(Update recommended as of Joomla 3 is HTML5 as thats what protostar is using)
m (removed Category:Topics using HotCat)
Line 4: Line 4:
===References about DocTypes===
===References about DocTypes===
{{:References about DocTypes|}}
{{:References about DocTypes|}}
<noinclude>[[Category:Beginners]][[Category:Templates]][[Category:Topics]][[Category:HTML|DocType]][[Category:Template FAQ]]</noinclude>
<noinclude>[[Category:Beginners]][[Category:Templates]] [[Category:HTML|DocType]][[Category:Template FAQ]]</noinclude>

Revision as of 18:13, 23 June 2013

Current thinking is that HTML5 should be used for Joomla! templates.

Recommended DocTypes

<translate> List of recommended DocTypes for different circumstances:</translate>

  • HTML 4.01 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
  • HTML 4.01 Transitional: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
  • HTML 4.01 Frameset: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "">
  • XHTML 1.0 Strict: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
  • XHTML 1.0 Transitional: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
  • XHTML 1.0 Frameset: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "">
  • XHTML 1.1 DTD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
  • HTML5: <!DOCTYPE html>

References about DocTypes

<translate> References about recommended DocTypes:</translate>