Skip to content
Permalink
Browse files
[e] (0) Encourage lowercase DOCTYPE names subtly.
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 b1f551cd0019517a161537c17677415c483454d4
Showing with 8 additions and 8 deletions.
  1. +4 −4 index
  2. +4 −4 source
8 index
@@ -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;
@@ -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;
@@ -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;
@@ -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;
8 source
@@ -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>
@@ -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>
@@ -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;
@@ -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;

0 comments on commit b1f551c

Please sign in to comment.