Skip to content

Commit

Permalink
[e] (0) Encourage lowercase DOCTYPE names subtly.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3611 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 14, 2009
1 parent d68654f commit b1f551c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions index
Expand Up @@ -1418,7 +1418,7 @@

<p>A basic HTML document looks like this:</p>

<pre>&lt;!DOCTYPE HTML&gt;
<pre>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Sample page&lt;/title&gt;
Expand Down Expand Up @@ -1534,7 +1534,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>In the following example, the page has been made yellow-on-blue
using CSS.</p>

<pre>&lt;!DOCTYPE HTML&gt;
<pre>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Sample styled page&lt;/title&gt;
Expand Down Expand Up @@ -7336,7 +7336,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<p>For example, the following document is non-conforming, despite
being syntactically correct:</p>

<pre class=bad>&lt;!DOCTYPE html&gt;
<pre class=bad>&lt;!DOCTYPE HTML&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand All @@ -7356,7 +7356,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
data (and the <code><a href=#the-cite-element>cite</a></code> element mis-used). A corrected
version of this document might be:</p>

<pre>&lt;!DOCTYPE html&gt;
<pre>&lt;!DOCTYPE HTML&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand Down
8 changes: 4 additions & 4 deletions source
Expand Up @@ -418,7 +418,7 @@

<p>A basic HTML document looks like this:</p>

<pre>&lt;!DOCTYPE HTML>
<pre>&lt;!DOCTYPE html>
&lt;html>
&lt;head>
&lt;title>Sample page&lt;/title>
Expand Down Expand Up @@ -548,7 +548,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>In the following example, the page has been made yellow-on-blue
using CSS.</p>

<pre>&lt;!DOCTYPE HTML>
<pre>&lt;!DOCTYPE html>
&lt;html>
&lt;head>
&lt;title>Sample styled page&lt;/title>
Expand Down Expand Up @@ -7429,7 +7429,7 @@ interface <dfn>HTMLDocument</dfn> {
<p>For example, the following document is non-conforming, despite
being syntactically correct:</p>

<pre class="bad">&lt;!DOCTYPE html&gt;
<pre class="bad">&lt;!DOCTYPE HTML&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand All @@ -7449,7 +7449,7 @@ interface <dfn>HTMLDocument</dfn> {
data (and the <code>cite</code> element mis-used). A corrected
version of this document might be:</p>

<pre>&lt;!DOCTYPE html&gt;
<pre>&lt;!DOCTYPE HTML&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand Down

0 comments on commit b1f551c

Please sign in to comment.