Several HTML4 features have been refined in HTML5, several former presentational tags received new semantic lives, and some black sheep markup has been welcomed into the fold.

Semantic Refinements to HTML4 Elements

First, let’s take a look at what has been improved through refinement.

Nestable <em>Phasis Elements

The <em> element can be nested to indicate even stronger levels of emphasis. In HTML4, you used the <strong> element to indicate stronger emphasis, but it only provided two levels of emphasis. Now, you simply use another <em> element to indicate stronger emphasis and yet another nested <em> to indicate ...

Get HTML5 Now: A Step-by-Step Video Tutorial for Getting Started Today now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.