Permalink
Browse files

Cleanup

Unused files, unused whitespace, escaped codeblocks
  • Loading branch information...
jonathantneal committed Jan 10, 2013
1 parent 8ee4b94 commit 7d6ae916403bdbfd5092dd672339266c3a38d06e
View
@@ -33,4 +33,4 @@ <h1>About The Book</h1>
<p class="c">Copyright MMIX&ndash;MMXI <!--<a href="colophon.html">-->Mark Pilgrim<!--</a>-->
-<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
+<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
View
@@ -529,7 +529,7 @@ <h2 id="ie">What About IE?</h2>
<p><a href="http://code.google.com/p/explorercanvas/">Explorercanvas</a> (<code>excanvas.js</code>) is an open source, Apache-licensed JavaScript library that implements the canvas <abbr>API</abbr> in Internet Explorer. To use it, include the following <code>&lt;script&gt;</code> element at the top of your page.
-<pre><code>&lt;!DOCTYPE html>
+<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
@@ -920,4 +920,4 @@ <h4>Did You Know?</h4>
draw(false);
}
});
-</script>
+</script>
View
@@ -50,7 +50,7 @@ <h2 id="modernizr">Modernizr, an HTML5 Detection Library</h2>
<p><a href="http://www.modernizr.com/">Modernizr</a> is an open source, <abbr>MIT</abbr>-licensed JavaScript library that detects support for many <abbr>HTML5</abbr> <i class="baa">&amp;</i> <abbr>CSS3</abbr> features. You should always use the latest version. To use it, include the following <code>&lt;script&gt;</code> element at the top of your page.
-<pre style="float:left"><code>&lt;!DOCTYPE html>
+<pre style="float:left"><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
@@ -682,4 +682,4 @@ <h4>Did You Know?</h4>
$("#live-microdata-api").html(supports(!!document.getItems, "the HTML5 microdata API"));
$("#live-history-api").html(supports(!!Modernizr.history, "the HTML5 history API"));
});
-</script>
+</script>
View
@@ -299,4 +299,4 @@ <h4>Did You Know?</h4>
attr('href', '#' + this.id).
appendTo(this);
});
-</script>
+</script>
View
@@ -946,4 +946,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -600,4 +600,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
<script src="j/modernizr.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -216,4 +216,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
<script src="j/modernizr.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -71,4 +71,4 @@ <h3>Table of Contents</h3>
});
});
window._gaq=[['_setAccount','UA-26147692-1'],['_setDomainName', 'diveintohtml5.info'],['_setAllowHash', false],['_trackPageview'],['_trackPageLoadTime']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
-</script>
+</script>
View
@@ -41,7 +41,7 @@ <h2 id="three">3. It&rsquo;s easy to get started</h2>
<p>&ldquo;Upgrading&rdquo; to <abbr>HTML5</abbr> can be as simple as changing your <i>doctype</i>. The doctype should already be on the first line of every <abbr>HTML</abbr> page. Previous versions of <abbr>HTML</abbr> defined a lot of doctypes, and choosing the right one could be tricky. In <abbr>HTML5</abbr>, there is only one doctype:
<blockquote>
-<p><code>&lt;!DOCTYPE html></code>
+<p><code>&lt;!DOCTYPE html&gt;</code>
</blockquote>
<p>Upgrading to the <abbr>HTML5</abbr> doctype won&rsquo;t break your existing markup, because <a rel="external" href="http://www.w3.org/TR/html5-diff/#absent-elements" target="_blank">obsolete elements</a> previously defined in HTML 4 will still render in <abbr>HTML5</abbr>. But it will allow you to use &mdash; and validate &mdash; new semantic elements like <code>&lt;article&gt;</code>, <code>&lt;section&gt;</code>, <code>&lt;header&gt;</code>, and <code>&lt;footer&gt;</code>. You&rsquo;ll learn all about these new elements in <a href="semantics.html">Chapter 3</a>.
View
@@ -301,4 +301,4 @@ <h2 id="latin-modern">Latin Modern</h2>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -139,4 +139,4 @@ strong, b {
}
em, i {
font-style: oblique;
-}
+}
View
@@ -35,7 +35,7 @@ <h2 id="manifest">The Cache Manifest</h2>
<p>An offline web application revolves around a cache manifest file. What&rsquo;s a manifest file? It&rsquo;s a list of all of the resources that your web application might need to access while it&rsquo;s disconnected from the network. In order to bootstrap the process of downloading and caching these resources, you need to point to the manifest file, using a <code>manifest</code> attribute on your <code>&lt;html&gt;</code> element.
-<pre><code>&lt;!DOCTYPE HTML>
+<pre><code>&lt;!DOCTYPE html&gt;
&lt;html <mark>manifest="/cache.manifest"</mark>&gt;
&lt;body&gt;
...
@@ -270,4 +270,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
<script src="j/modernizr.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -99,8 +99,8 @@ <h2 id="history-of-the-img-element">A long digression into how standards are mad
<blockquote>
<p>An alternative I was considering was:
-<p><code>&lt;A HREF="..." INCLUDE&gt;See photo&lt;/A></code>
-<p>I don&rsquo;t much like adding more functionality to the <code>&lt;A></code> tag, but the idea here is to maintain compatibility with browsers that can not honour the <code>INCLUDE</code> parameter. The intention is that browsers which do understand <code>INCLUDE</code>, replace the anchor text (in this case &ldquo;See photo&rdquo;) with the included document (picture), while older or dumber browsers ignore the <code>INCLUDE</code> tag completely.
+<p><code>&lt;A HREF="..." INCLUDE&gt;See photo&lt;/A&gt;</code>
+<p>I don&rsquo;t much like adding more functionality to the <code>&lt;A&gt;</code> tag, but the idea here is to maintain compatibility with browsers that can not honour the <code>INCLUDE</code> parameter. The intention is that browsers which do understand <code>INCLUDE</code>, replace the anchor text (in this case &ldquo;See photo&rdquo;) with the included document (picture), while older or dumber browsers ignore the <code>INCLUDE</code> tag completely.
</blockquote>
<p>This proposal was never implemented, although the idea of providing text if an image is missing is <a href="http://diveintoaccessibility.info/day_23_providing_text_equivalents_for_images.html">an important accessibility technique</a> that was missing from Marc&rsquo;s initial <code>&lt;IMG&gt;</code> proposal. Years later, this feature was bolted on as the <a href="http://www.w3.org/TR/html4/struct/objects.html#h-13.8"><code>&lt;img alt&gt;</code> attribute</a>, which Netscape promptly broke by <a href="http://www.cs.tut.fi/~jkorpela/html/alt.html#tooltip">erroneously treating it as a tooltip</a>.
@@ -109,7 +109,7 @@ <h2 id="history-of-the-img-element">A long digression into how standards are mad
<blockquote cite="http://1997.webhistory.org/www.lists/www-talk.1993q1/0186.html">
<p>I had imagined that figues would be reprented as
-<p><code>&lt;a name="fig1" href="fghjkdfghj" REL="EMBED, PRESENT"&gt;Figure &lt;/a></code>
+<p><code>&lt;a name="fig1" href="fghjkdfghj" REL="EMBED, PRESENT"&gt;Figure &lt;/a&gt;</code>
<p>where the relation ship values mean
<pre>EMBED Embed this here when presenting it
PRESENT Present this whenever the source document is presented</pre>
@@ -386,4 +386,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
@@ -1061,4 +1061,4 @@
<td id="td7">&nbsp;
<td id="td8">&nbsp;
-</table>
+</table>
View
@@ -63,7 +63,7 @@ <h2 id="the-doctype">The Doctype</h2>
<p>This is the <abbr>HTML5</abbr> doctype:
-<pre><code>&lt;!DOCTYPE html></code></pre>
+<pre><code>&lt;!DOCTYPE html&gt;</code></pre>
<p>That&rsquo;s it. Just 15 characters. It&rsquo;s so easy, you can type it by hand and not screw it up.
@@ -873,4 +873,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -338,4 +338,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
<script src="j/modernizr.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>
View
@@ -194,4 +194,4 @@ <h1>Table of Contents</h1>
<p class="c">Copyright MMIX&ndash;MMXI <a href="about.html">Mark Pilgrim</a>
-<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
+<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
View
@@ -818,4 +818,4 @@ <h4>Did You Know?</h4>
}
});
}
-</script>
+</script>
View
@@ -48,4 +48,4 @@ <h4>Did You Know?</h4>
<form action="http://www.google.com/cse"><div><input type="hidden" name="cx" value="017884302975346027366:bgclqh8nvse"><input type="hidden" name="ie" value="UTF-8"><input type="search" name="q" size="25" placeholder="powered by Google&trade;">&nbsp;<input type="submit" name="sa" value="Search"></div></form>
<script src="j/jquery.js"></script>
<script src="j/modernizr.js"></script>
-<script src="j/dih5.js"></script>
+<script src="j/dih5.js"></script>

0 comments on commit 7d6ae91

Please sign in to comment.