1. Semantics

  2. Removed

  3. Changed

  4. Extensibility

    No matter how many elements we bolt on, we will always think of more semantic goodness to add to HTML. And so, having added as many new elements as we like, we still won’t have solved the problem. We don’t need to add specific terms to the vocabulary of HTML, we need to add a mechanism that allows semantic richness to be added to a document as required.

    John Allsopp
  5. Extensibility

    …social co-ordination brings the value in shared data and protocols, not infinite extensibility, which tends to encourage duplication of effort.

    …making the points of extensibility into scarce, community-managed resources … is a good thing. It has positive political and social effects; it forces (or at least inclines) people to co-operate, whether they’re a multi-billion dollar behemoth, or a sole engineer who wants his fifteen minutes of fame.

    Mark Nottingham
  6. New elements

  7. New elements

    exercise
  8. header

    …a group of introductory or navigational aids.

    <header>
    <h1>My awesome site</h1>
    <p>Welcome to my site. It has lots of cool stuff:</p>
    <ul>
    <li>My lovely horse</li>
    <li>My interesting rock collection</li>
    <li>and more…</li>
    </ul>
    </header>
  9. aside

    …represents a section of a page that consists of content that is tangentially related to the content around it, and which could be considered separate from that content.

    <aside>
    <h1>Brighton</h1>
    <p>Brighton is a town on the south coast of England.</p>
    <p>It is built on the site of Brighthelmston.</p>
    </aside>
  10. hgroup

    …used to group a set of h1–h6 elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines.

    <hgroup>
    <h1>DOM Scripting</h1>
    <h2>Web Design with JavaScript and The Document Object Model</h2>
    </hgroup>
  11. footer

    …typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.

    <footer>
    <p>Copyright 2009 <address>jeremy@adactio.com</address></p>
    </footer>
  12. figure

    …some flow content, optionally with a caption, that is self-contained and is typically referenced as a single unit from the main flow of the document.

    <figure>
    <img src="horse.jpg" alt="a horse in a field">
    <legend>My lovely horse</legend>
    </figure>
  13. nav

    …a section of a page that links to other pages or to parts within the page: a section with navigation links.

    <nav>
    <ul>
    <li><a href="/">Home</a></li>
    <li><a href="/about">About</a></li>
    <li><a href="/contact">Contact</a></li>
    </ul>
    </nav>
  14. section

    …a thematic grouping of content, typically with a heading, possibly with a footer.

    <section>
    <header>
    <h1>DOM Scripting</h1>
    </header>
    <h2>JavaScript</h2>
    <p>JavaScript is a programming language.</p>
    <h2>The DOM</h2>
    <p>The DOM is an API.</p>
    <footer>Written by Jeremy Keith</footer>
    </section>
  15. article

    …a section of a page that consists of a composition that forms an independent part of a document, page, or site.

    <article>
    <header>
    <h1>DOM Scripting</h1>
    </header>
    <h2>JavaScript</h2>
    <p>JavaScript is a programming language.</p>
    <h2>The DOM</h2>
    <p>The DOM is an API.</p>
    <footer>Written by Jeremy Keith</footer>
    </article>
  16. details

    …additional information or controls which the user can obtain on demand.

    <details>
    <legend>Log in</legend>
    <form method="post" action="login">
    <label for="username">Username</label>
    <input type="text" name="username" id="username">
    <label for="password">Password</label>
    <input type="password" name="password" id="password">
    </form>
    </details>
  17. Next

    Structure