Layout

  • Div tags (html 4)
    • <div style="width:500px">Stuff</div

      html layout
  • HTML5 layout

    <header></header>
    <nav></nav>
    <article></article><aside></aside>
    <footer></footer>

    html 5 structure

  • Web content has evolved so much that current HTML specifications are inadequate for today's requirements. HTML 5 aims to improve HTML's interoperability and address the growing demand for more diverse and complex web content. It also addresses HTML 4's lacking features for web applications.
  • HTML's primary task is to describe the structure of a web page. For example, by enclosing text between <p></p> elements, HTML tells the browser that the text between those elements is a paragraph. Increasingly, diverse web content has outgrown HTML 4's ability to accurately describe the content of a web page.
  • By adding more HTML elements, HTML 5 aims to give developers a better and more precise way of describing data.