HTML and CSS Reference
In-Depth Information
page, just start your browser and then, from the menu bar, select File
Open File (or Open),
and locate the i lename. (You can just double-click the i le icon on the desktop to open most
HTML i les.)
A tag is made up of an element and attributes. h e tag is identii ed by its element, such as
<h1> h1 is the element. When we speak of a tag, we're usually referring to its element, but
actually a tag is its element and attributes. Attributes are the dif erent characteristics or
properties of an element that you can code to change features of the content in the tag's
container. For now, I'm just going to deal with the element, so I'll use the terms tag and
element interchangeably.
To give you a sense of the new elements in HTML5, Table 1.1 shows all the new elements,
along with a brief description of each. Later in this topic, I give lots of examples and explain
how to use these elements.
Table 1.1
New Elements in HTML5
New Element
Self-contained composition in document
Content tangentially related to content of the article
Sound content container
Graphic development container
A command that the user can invoke
List generator when used with the <input> element and its new list attribute
Discloses details of an element
External interactive plug-in or content
Caption tag for the fi gure element
Contains a group of media content and their caption
Container for a footer for a section or page
Container for header for a section or page
A heading of a section with multiple h1 to h6 elements in a document
The key pair generator control representation.
A string of text in one document, marked or highlighted for reference in another
Search WWH ::

Custom Search