title: Confused by relation between DOM and HTML (APIs)
body: <p>How are DOM and HTML related? Is one subset of another, is one a more abstract concept than the another? Is HTML an extension of DOM? Or do they describe rather unrelated concepts (related only in that you can transform from HTML into DOM)? How would you draw these 2 in one picture if you had to?</p>
  
  <p>For example, what is the purpose of these difference specs. Both first and last links contain information about HTMLElement..</p>
  
  <ol>
  <li><a href="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/" rel="noreferrer">http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/</a></li>
  <li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/" rel="noreferrer">http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/</a></li>
  <li><a href="http://www.w3.org/TR/html5/" rel="noreferrer">http://www.w3.org/TR/html5/</a></li>
  </ol>
  
  <p>I found a possible answer to this question here: <a href="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-1176245063-h2" rel="noreferrer">http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-1176245063-h2</a>, which is </p>
  
  <blockquote>
    <p>The goals of the HTML-specific DOM API are:</p>
    
    <ul>
    <li>to specialize and add functionality that relates specifically to HTML documents and elements</li>
    <li>...</li>
    <li>to provide convenience mechanisms, where appropriate, for common and frequent operations on HTML documents.</li>
    </ul>
  </blockquote>
  
  <p>Does this mean that the 3rd link in the list above extends the DOM Core, which is described in the 1st link?</p>
  
  <p>Or if you implement DOM Core, that allows you to manipulate simple documents, but if you implement HTML, that gives you like a super-DOM that allows you to manipulate more complicated objects? </p>
  
  <p>Finally, say you want to implement your own browser that is able to open only HTML5 websites (render, as well as support JavaScript). Is it enough to read the specification found in the 3rd link, or do you first need to implement everything provided in DOM and then implement HTML5 specific things?</p>
  
  <p><strong>UPDATE</strong><br>
  I guess I'm wondering about DOM API vs HTML API vs DOM HTML API vs HTML DOM API.</p>