Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>HTML is more than the DTD. Learning HTML from DTD is like learning C from include files — <strong>you just don't do it</strong>.</p> <p>The DTD just specifies a few simple grammar rules. You can use it to roughly validate your code but it's limited. And it definitely knows nothing about semantics.</p> <p>It's a guess-work. It's like, you have:</p> <pre><code>&lt;html&gt; &lt;body&gt; </code></pre> <p>and now the DTD <em>only</em> says you can choose one of: <code>&lt;h1&gt;</code>, <code>&lt;h2&gt;</code>, …, <code>&lt;ul&gt;</code>, <code>&lt;ol&gt;</code>, …, <code>&lt;p&gt;</code>, …</p> <p>Well, sometimes it gives a <em>brief</em> description of what particular elements or attributes mean (in <em>comments</em>). But that's all. It doesn't explain what is the purpose of given element, what are the alternatives and which one should fit the particular task better.</p> <p>Also, remember that HTML is rarely used alone these days. You at least have to know CSS as well (unless you're going to write some ugly soup — then <em>please don't even start</em>), and CSS is not fit for DTD.</p> <p>The specs are the <em>most important</em> documents for you but they are not fit for learning either. The spec is the thing you start to use after you catch all the basics already, and where you check your understanding of them. But the HTML and CSS specs alone are not enough either. There's <a href="http://www.w3.org/TR/WCAG/" rel="nofollow">WCAG</a> at least. And a fair bit of common sense.</p> <p>I think the one tutorial you could start with is the <a href="https://developer.mozilla.org/en-US/docs/HTML/Introduction" rel="nofollow">one from Mozilla</a>. It's not perfect either and you will need to read much more before you start writing <em>good</em> HTML.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload