Skip to Main Content
HTML5 Digital Classroom
book

HTML5 Digital Classroom

by Jeremy Osborn, AGI Creative Team
October 2011
Intermediate to advanced content levelIntermediate to advanced
448 pages
10h 15m
English
Wiley
Content preview from HTML5 Digital Classroom

Appendix: HTML5 Elements and Attributes

These tables provide a reference to some of the most commonly used HTML5 elements, the category of content they belong to as well as their attributes. Although there are new elements in HTML5, some elements from HTML 4.0.1 (such as b and i) have been revised.

This table is not a complete list, for complete references please visit http://www.w3.org/TR/html5/index.html.

For an overview of HTML5 syntax, be sure to read Lesson 2 “Using HTML5 markup”.

8315.jpg In the Attributes column, “globals” refers to common attributes that may be specified on all HTML elements. These attributes are accesskey, class, contenteditable, contextmenu, dir, draggable, dropzone, hidden, id, lang, spellcheck, style, tabindex, title, and are described in further detail below.

Table 1 List of current HTML5 elements

Element

Description

Attributes

a

Hyperlink

globals; href; target; rel; media; hreflang; type

abbr

Abbreviation

globals

address

Contact information for a page or section

globals

area

Hyperlink or dead area on an image map

globals; alt; coords; shape; href; target; rel; media; hreflang; type

article

Self-contained syndicatable or reusable composition

globals

aside

Sidebar for tangentially related content

globals

audio

Audio player

globals; src; preload; autoplay; mediagroup; loop; controls

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Sams Teach Yourself CSS 24 in Hours

Sams Teach Yourself CSS 24 in Hours

Kynn Bartlett

Publisher Resources

ISBN: 9781118128770Purchase bookOther