Actions

Difference between revisions of "Recommended DocTypes"

From Joomla! Documentation

m (whitespace cleanup)
(No other than HTML5 needed and link to others is provided)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
List of recommended [http://www.w3.org/QA/2002/04/valid-dtd-list.html DocTypes] for different circumstances:-
+
<noinclude><languages /></noinclude>
 +
<translate><!--T:1-->
 +
List of recommended [http://www.w3.org/QA/2002/04/valid-dtd-list.html DocTypes] for different circumstances:</translate>
  
* HTML 4.01 Strict: <nowiki><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"></nowiki>
+
* HTML5: <tt><!DOCTYPE html></tt>
* HTML 4.01 Transitional: <nowiki><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"></nowiki>
+
 
* HTML 4.01 Frameset: <nowiki><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"></nowiki>
+
<noinclude>  
* XHTML 1.0 Strict: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></nowiki>
+
<translate>
* XHTML 1.0 Transitional: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></nowiki>
+
<!--T:2-->
* XHTML 1.0 Frameset: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"></nowiki>
+
[[Category:DocType]]
* XHTML 1.1 DTD: <nowiki><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"></nowiki>
+
[[Category:Template Reference]]
* HTML5: <!DOCTYPE html>
+
[[Category:Template Development]]
<noinclude>[[Category:Reference]][[Category:Templates]][[Category:Itemised lists]]</noinclude>
+
</translate>
 +
</noinclude>

Latest revision as of 07:29, 18 August 2015

Other languages:
English • ‎español • ‎français • ‎Nederlands

List of recommended DocTypes for different circumstances:

  • HTML5: <!DOCTYPE html>