e Amazing Easily Confused HTML5 Element Flowchart Enlightenment_ of

Document Sample
e Amazing Easily Confused HTML5 Element Flowchart Enlightenment_ of Powered By Docstoc
					                                          e Amazing

                                                                        Easily Confused HTML5 Element Flowchart
                                                                     of Enlightenment!           By @riddle & @boblet
                         A block of flow content
          Start          (not inline phrasing content)

                                                                                                                      Tangentially related
                                                                                                                      page or content sidebar,
      Is it a major                     Does it make                    Is it required                                comments section,
    navigation block?                 sense on its own?               to understand the      No            *
                                                                                                     <aside>          pullquote, glossary,
                                                                      current content?                                advertising, footnote…
                                                      e.g. in a                                                       →
                                                    feed reader

           Yes                               Yes
                                                                      Could you move                  Is it logical                 Does it have
                                                                     it to an appendix?           to add a heading?                any semantics?           No          <div>
          <nav>                                  *
                                         <article>                                                                                                             Flow content with no
                                                                                                                                                               additional semantics,
   Site or in-page               News article, weblog or                                                                                                       e.g. for CSS hooks…
 navigation (anything             forum post, comment                       Yes                         Yes                                                      →
you’d use a “skip nav”             on an article, sidebar
       link for)                    widget etc, with a
                                                                                                            *                       Appropriate
                                  →              <figure>                   <section>
                                                                   One or more images,        A section of the page,            Probably <p>, but
                                                                  graphics, code samples         or chapter of an              possibly <address>,
                                                                     etc, plus optional         <article>, with a             <blockquote>, <pre>…
                                                                      <figcaption>…                 heading…                 →
                                                                   →    →
* = Sectioning content element
ese four elements (and their headings) are used by                                                                                                                      2010-06-29 v1.3
HTML5’s outlining algorithm to make the document’s outline                                                                                                          For more information:

Shared By:
Tags: HTML5
Description: The predecessor of the draft HTML5 called Web Applications 1.0. In 2004 was WHATWG proposed by W3C in 2007 to accept and set up a new HTML working group. In the January 22, 2008, the first draft of a formal announcement is expected in September 2010 formally recommended to the public. WHATWG said the specification is being done, still many years of effort.