Recommended DocTypes: Difference between revisions

From Joomla! Documentation

Tom Hutchison (talk | contribs)
m removed Category:Reference using HotCat
MATsxm (talk | contribs)
No other than HTML5 needed and link to others is provided
 
(6 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:Templates]][[Category:Itemised lists]]</noinclude>
</translate>
</noinclude>

Latest revision as of 12:29, 18 August 2015

List of recommended DocTypes for different circumstances:

  • HTML5: <!DOCTYPE html>