Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It sounds like you're only changing the DOCTYPE, but not changing any HTML or CSS. This is something you'll need to do since each DOCTYPE will be rendered differently.</p> <p>I recommend one of the STRICT ones - HTML4.01 STRICT, XHTML1.0 STRICT, or XHTML1.1, depending on your needs. Or HTML5 (although I haven't used it yet myself). Also, make sure you've got the doctype declaration correct and have included the xmlns in the html tag if you're using XHTML.</p> <p>For reference:</p> <ul> <li><a href="http://www.quirksmode.org/" rel="nofollow" title="QuirksMode">QuirksMode</a> has a lot a great information, including browser compatibility info. </li> <li><a href="http://www.alistapart.com/" rel="nofollow" title="A List Apart">A List Apart</a> also has really helpful articles. </li> <li>I refer to the <a href="http://www.w3.org/TR/html4/" rel="nofollow" title="HTML">HTML</a> and <a href="http://www.w3.org/TR/CSS2/" rel="nofollow" title="CSS2 Specification">CSS2</a> Specifications often.</li> </ul> <p>And to check your doctypes:</p> <p>HTML 4.01 Strict, Transitional, Frameset </p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"&gt; </code></pre> <p>XHTML 1.0 Strict, Transitional, Frameset </p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt; </code></pre> <p>XHTML 1.1 </p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; </code></pre> <p>HTML5 </p> <pre><code>&lt;!DOCTYPE html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload