XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / progress
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
progress
HTML 5 |
<progress> ... </progress>
Indicates progress in completing a task, such as downloading files. A script can supply the value used to measure progress. It can be provided either as the content of the progress element or as the value of the attribute value. The element progress can also be used when the maximum value is unknown, for example while waiting for a response from a remote computer.
Notes
HTML 5 only.
Start/end tag
Required/required
Attributes
max="Zahl"Specifies the amount of work required by the task. The default is
1.value="Zahl"Indicates how much of the task has been completed.
Example
<p>Bereits heruntergeladen: <progress max="100"><span id="komplett">0</span>%</progress></p>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de