Recommended DocTypes: Difference between revisions

From Joomla! Documentation

Chris Davenport (talk | contribs)
m 1 revision(s)
MATsxm (talk | contribs)
No other than HTML5 needed and link to others is provided
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
List of recommended 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: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
* HTML5: <tt><!DOCTYPE html></tt>
* 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">


<noinclude>[[Category:Reference]]</noinclude>
<noinclude>  
<noinclude>[[Category:Templates]]</noinclude>
<translate>
<noinclude>[[Category:Itemised lists]]</noinclude>
<!--T:2-->
[[Category:DocType]]
[[Category:Template Reference]]
[[Category:Template Development]]
</translate>
</noinclude>

Latest revision as of 12:29, 18 August 2015

List of recommended DocTypes for different circumstances:

  • HTML5: <!DOCTYPE html>