appendix b

HTML Elements Index

This appendix contains a list of the most commonly used HTML elements with definitions and examples for each of these elements. Note that I cover only the basic attributes for each of the elements here. For an exhaustive list of elements and their attributes check out the HTML5 specifications that can be found here:

WHATWG Specification -

W3C Specification -




The <a> element is used for creating hyperlinks to other pages on the web or to a section in the current page. The location of the target page is specified in the href attribute. The anchor text between the tags will be shown to the user.<a href=””>HTML5 Foundations</a>


The <abbr> element is used to markup an abbreviation or acronym. An optional title attribute may be used to specify an expansion of the abbreviation.<abbr title=”World Wide Web Consortium”>W3C</abbr>


The <address> element should contain contact information for a section or page.<address> <a href=””> Email Matt </a></address>


The <article> element is used to define a section on a page that contains an independent piece of content such as a blog post or newspaper article.<article> <h1>Blog Post Title</h1> <p>Blog post content...</p></article>


If the <aside> element is used within an <article> element, it should contain ...

Get HTML5 Foundations 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.