HTML and CSS Reference
In-Depth Information
Several new input type elements are provided that allow native formatting and validation capabilities. These
will be explained in Chapters
2
and
3
. he new types are:
•
color
•
datetime
(as well as
datetime-local
,
date
,
time
,
month
, and
week
)
•
email
•
number
•
range
•
search
•
tel
url
There are also some new elements that enable you to use browser-implemented controls such as:
•
•
<audio>
•
<figcaption>
•
<figure>
•
<meter>
•
<output>
•
<progress>
<video>
There are a few other elements introduced with HTML5 that I will describe in more detail later. I will
demonstrate the
<audio>
and
<video>
tags in Chapter
8
. he new
<canvas>
element provides some significant
graphics capabilities and I will demonstrate this in Chapter
10
.
•
Understanding Cascading Style Sheets
Like HTML, CSS capabilities are defined by an evolving set of specifications. The current published
recommendation
is CSS 2.1 and the next version being drafted is referred to as CSS3. However, it has been broken
down into over 50 “modules” with a separate specification for each. As of this writing, only a few of these modules
have become official W3C Recommendations (REC) and several more are at W3C Candidate Recommendation
(CR) status.
At the time of this writing the W3C Recommendations are:
•
Color
•
Namespaces
•
Selectors Level 3
The candidate recommendations are:
•
Backgrounds and Borders
•
Marquee
•
Media Queries