Skip to content

Commit dcc8fab

Browse files
committed
some slight tweaks
1 parent caaf500 commit dcc8fab

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

_includes/header.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ <h1 class="cg-masthead-title">
1818
</a>
1919
</p>
2020

21-
2221
<script type="text/javascript" src="//cdn.fusionads.net/fusion.js?zoneid=1332&serve=C6SDP2Y&placement=codeguide" id="_fusionads_js"></script>
2322
</div>
2423
</header>

_includes/html/doctype.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
</head>

_includes/html/syntax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>Page title</title>

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ <h2 id="html">HTML</h2>
6060
<div class="col">
6161
<h3>Syntax</h3>
6262
<ul>
63+
<li>Don't capitalize tags, including the doctype.</li>
6364
<li>Use soft tabs with two spaces—they're the only way to guarantee code renders the same in any environment.</li>
6465
<li>Nested elements should be indented once (two spaces).</li>
6566
<li>Always use double quotes, never single quotes, on attributes.</li>
@@ -75,7 +76,7 @@ <h3>Syntax</h3>
7576
<div class="section" id="html-doctype">
7677
<div class="col">
7778
<h3>HTML5 doctype</h3>
78-
<p>Enforce standards mode and more consistent rendering in every browser possible with this simple doctype at the beginning of every HTML page.</p>
79+
<p>Enforce <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode">standards mode</a> and more consistent rendering in every browser possible with this simple doctype at the beginning of every HTML page.</p>
7980
</div>
8081
<div class="col">
8182
{% highlight html %}{% include html/doctype.html %}{% endhighlight %}

0 commit comments

Comments
 (0)