HTML5 Guidelines for Web Developers

(coco) #1

10 Chapter 1—Overview of the New Web Standard


a picture you can program with JavaScript. Many innovations concern struc-
turing elements, for example, article, section, header, hgroup, footer, nav, or
aside. For figures, you have figure with figcaption, and you can show or hide
additional information with details in combination with summary. You can in-
dicate progress with progress, any kind of measurements with meter, and time
and date with time.
We are not likely to come across the elements ruby, rt, and rp in English-
speaking countries very often; they are a typographical annotation system used
mainly in Chinese and Japanese to give guidance on pronunciation. More use-
ful for us is mark for emphasizing terms or wbr to show that a line break could be
inserted at a certain point if necessary.
Some elements tend toward web applications, such as keygen for generating key
pairs for encryption or digital signatures, command for executing commands, or
output as a result of calculations in forms or other parts of a document. As a con-
tainer for option elements, datalist offers nonvisible select lists for form fields.
For listing alternative resources for video and audio elements, there is source—
the browser picks the first known format from this list to play the file. And last
but not least is the frequently used embed element introduced by Netscape, now
in an amended version.

Figure 1.2 New HTML5 elements
Free download pdf