The truth about structuring an HTML5 page

This is an edited excerpt from Chapter 3 of The Truth About HTML5 by Luke Stevens.

One of the most common tasks web designers do is mark up page structure, which usually consists of a header, footer, navigation, sidebar and content area. It’s the sort of thing you can probably do blindfolded and handcuffed to your chair after being spun around for five minutes.

HTML5 introduces a handful of new elements to help us define the structure of a given web page, such as <section>, <article>, <nav>, <aside>, <header> and <footer>.

We shouldn’t use them. They were made up on a whim by (probably) one guy in 2004 – and even he seems to have forgotten what their purpose is.

If that’s all you needed to know, great. Keep using divs with meaningful class and ID names, and appropriate <h1>-<h6> headings. They’ll be valid forever (more or less), and you’re not missing out on anything.

However, I suggest using some non-HTML5 features when marking up documents, such as ARIA attributes for blind and sight-impaired users and microdata schemas (when appropriate) for search engine results.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

TOPICS

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq. 

Latest in HTML
Write HTML faster
How to write HTML code faster
HTML tags
8 HTML tags you need to be using (and 5 to avoid)
HTML tags
HTML tags: A guide to the basics
18 great HTML APIs – and how to use them
Convert Flash games to HTML5
Convert Flash games to HTML5
Build a simple HTML page
Latest in Features
Promise Mascot Agency;
How Ikumi Nakamura's 'art bible' helped create Promise Mascot Agency's grotesque mascots, and why collaboration in indie game development is vital
Stanley &#039;Artgerm&#039; Lau discuses AI; a digital illustration showcases a stylised female figure, reminiscent of a comic book superhero, likely Supergirl, with vibrant colours and a dynamic pose
"In the future, there will be fewer artists like me – real artists" says Stanley 'Artgerm' Lau as he reflects on the dangerous impact of AI on art
Pittura, a short film made at ArtFX
"We wanted to talk about AI and its relationship to art" – how we made 2025’s VES Student Award-winning animation Pittura
Stanley &#039;Artgerm&#039; Lau; a vibrant, dynamic illustration showcases Spider-Gwen in a dynamic action pose amidst a cityscape, radiating a sense of energy and playful confidence
"Art is not easy. You have to suffer in joy" – Stanley 'Artgerm' Lau reflects on what it takes to succeed in comic art
Your House indie game art interview; A stylised illustration depicts a young woman seated, seemingly contemplative, in a setting that combines elements of a comic book panel and a vintage aesthetic
"This is a game you can read, or a book you can play” – solving the visual design of Your House, a detective game crossed with a Daniel Clowes comic
one.com
How to build a website for your creative business quickly and easily