HTML and CSS Reference
In-Depth Information
Removed Element Reasoning
Misunderstood by many Web
Use the abbr element.
Obsolete syntax for Java applets. Use the object element.
Rarely used, and provides similar
functionality to unordered lists.
Use the ul element.
Usability concerns.
Use fixed-position elements with
CSS and/or object elements with
sourced documents.
Usability concerns.
Use fixed-position elements with
CSS and/or object elements with
sourced documents.
Archaic and can be simulated
with typical form elements.
Use the input element to create
text field and button and back up with
appropriate server-side script.
Since frames are no longer
supported, this contingency
element is no longer required.
T ABLE 2-4 Elements Removed by HTML5
like <font> and proprietary tags like <spacer> , <marquee> , and <blink> should be off limits
is somewhat redundant and does not build on the specifications. However, the reference in
Chapter 3 covers compliance points completely, so when in doubt check the appropriate
element's entry.
In with the New Elements
For most Web page authors, the inclusion of new elements is the most interesting aspect of
HTML5. Some of these elements are not yet supported, but already many browsers are
implementing a few of the more interesting ones, such as audio and video , and others can
easily be simulated even if they are not directly understood yet, as you will see later in the
chapter. Table 2-5 summarizes the elements added by HTML5 at the time of this edition's
writing, and the sections that follow illustrate their use. Again, Chapter 3 provides
a complete element syntax discussion.
Sample of New Attributes for HTML5
One quite important aspect of HTML5 is the introduction of new attributes. There are quite
a few attributes that are global and thus found on all elements. Table 2-6 provides a brief
overview of these attributes. We'll take a look at many of these in upcoming sections and
a complete reference for all is found in the next chapter.
The element reference in Chapter 3 provides the full syntax for the various HTML5
attributes that may have been added to specific elements. Some of them, such as reversed
for use on ordered lists ( <ol> ), are a long time in coming, while others simply add polish, or
address details that few page authors may notice.
Search WWH ::

Custom Search