You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ <h2 id="html">HTML</h2>
60
60
<divclass="col">
61
61
<h3>Syntax</h3>
62
62
<ul>
63
+
<li>Don't capitalize tags, including the doctype.</li>
63
64
<li>Use soft tabs with two spaces—they're the only way to guarantee code renders the same in any environment.</li>
64
65
<li>Nested elements should be indented once (two spaces).</li>
65
66
<li>Always use double quotes, never single quotes, on attributes.</li>
@@ -75,7 +76,7 @@ <h3>Syntax</h3>
75
76
<divclass="section" id="html-doctype">
76
77
<divclass="col">
77
78
<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 <ahref="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>
79
80
</div>
80
81
<divclass="col">
81
82
{% highlight html %}{% include html/doctype.html %}{% endhighlight %}
0 commit comments