• 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:

    html structure

    The problem with this layout is that, to the browser, everything is a <div> element. The browser treats everything inside the <div> elements equally because it can't tell the difference between them, and "classes" and "ids," such as content, sidebar, and footer, change from website to website:

    html5 structure
<< >>