Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Called out bullshit in descriptions of the cite, dl and header elements #28

Merged
merged 1 commit into from

2 participants

@oli

Called out bullshit in descriptions of the cite, dl and header elements, plus a crap example of strong. Also added mah name to contributors section

@paulirish paulirish merged commit 0394bba into paulirish:master
@paulirish
Owner

its live! thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 14, 2011
  1. @oli

    Called out bullshit in descriptions of the cite, dl and header elemen…

    oli authored
    …ts, plus a crap example of strong
This page is out of date. Refresh to see the latest.
Showing with 43 additions and 1 deletion.
  1. +43 −1 index.html
View
44 index.html
@@ -1,4 +1,3 @@
-
<!DOCTYPE html>
<!--[if lt IE 9 ]><html lang="en" class="no-js shitty"><![endif]-->
@@ -59,6 +58,7 @@ <h1 id="intervention"><b>W3Schools</b> An Intervention</h1>
<a href="http://twitter.com/beverloo" class="twitter-anywhere-user"><span class="at">@</span>beverloo</a>
<a href="http://twitter.com/bjorninge" class="twitter-anywhere-user"><span class="at">@</span>bjorninge</a>
<a href="http://twitter.com/boazsender" class="twitter-anywhere-user"><span class="at">@</span>boazsender</a>
+ <a href="http://twitter.com/boblet" class="twitter-anywhere-user"><span class="at">@</span>boblet</a>
<a href="http://twitter.com/bradneuberg" class="twitter-anywhere-user"><span class="at">@</span>bradneuberg</a>
<a href="http://twitter.com/brianloveswords" class="twitter-anywhere-user"><span class="at">@</span>brianloveswords</a>
<a href="http://twitter.com/cowboy" class="twitter-anywhere-user"><span class="at">@</span>cowboy</a>
@@ -628,6 +628,48 @@ <h1 id="intervention"><b>W3Schools</b> An Intervention</h1>
</p>
</li>
+ <li id="tag_phrase_elements">
+ <a href="#tag_phrase_elements" class="wrap">#</a>
+ <a href="http://www.w3schools.com/tags/tag_phrase_elements.asp" rel="nofollow" class="w3s-link">www.w3schools.com/tags/tag_phrase_elements.asp</a>.
+ <blockquote>
+ <code>&lt;cite&gt;</code> defines a citation
+ </blockquote>
+ <p>
+ There’s no mention in “Differences Between HTML 4.01 and HTML5” that HTML5 forbids using <code>&lt;cite&gt;</code> for people — it’s now only for “<a href="http://developers.whatwg.org/text-level-semantics.html#the-cite-element">a title of a work</a>”.
+ </p>
+ <blockquote>
+ <pre>…
+&lt;strong>Strong text&lt;/strong>
+…</pre>
+ </blockquote>
+ <p>
+ Several of the examples on this page are weak, but this one even contradicts W3Schools’ own info: “In HTML 4.01, the <code>&lt;strong&gt;</code> tag defined strong emphasized text, but in HTML5 it defines important text”.
+ </p>
+
+ </li>
+
+ <li id="tag_dl">
+ <a href="#tag_dl" class="wrap">#</a>
+ <a href="http://www.w3schools.com/tags/tag_dl.asp" rel="nofollow" class="w3s-link">www.w3schools.com/tags/tag_dl.asp</a>.
+ <blockquote>
+ The <code>&lt;dl&gt;</code> tag defines a definition list
+ </blockquote>
+ <p>
+ Wrong. In HTML5 the <code>&lt;dl&gt;</code> element <a href="http://developers.whatwg.org/grouping-content.html#the-dl-element">represents an association list or description list</a>. This is a much wider meaning than HTML4’s “definition list”. The example is also terrible, even for a definition — here’s hoping w3schools doesn’t start a dictionary side project.
+ </p>
+ </li>
+
+ <li id="tag_header">
+ <a href="#tag_header" class="wrap">#</a>
+ <a href="http://www.w3schools.com/tags/tag_header.asp" rel="nofollow" class="w3s-link">www.w3schools.com/tags/tag_header.asp</a>.
+ <blockquote>
+ The <code>&lt;header&gt;</code> tag specifies an introduction, or a group of navigation elements for the document
+ </blockquote>
+ <p>
+ Wrong. In HTML5 the <code>&lt;header&gt;</code> element <a href="http://developers.whatwg.org/sections.html#the-header-element">represents a group of introductory or navigational aids</a>. It is not <em>just</em> for the document. In addition it’s often used for headers in sectioning content elements such as <code>&lt;section&gt;</code> and <code>&lt;article&gt;</code>.
+ </p>
+ </li>
+
</ul>
</li>
<li id="csssucks">
Something went wrong with that request. Please try again.