English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The progress max attribute is a floating-point number that specifies the total work that can be completed before the task is finished.
Downloading:
<!DOCTYPE html> <html> <head> <title>HTML: <progress> max Attribute - Basic Tutorial Website(oldtoolbag.com)</title> </head> <body> Downloading progress: <progress value="30" max="100"> </progress> </body> </html>Test it out ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 10、Firefox、Opera、Chrome and Safari 6 supports the max attribute.
Note:Internet Explorer 9 and earlier versions do not support the max attribute of the <progress> tag.
The max attribute specifies how much work is needed in total for the task.
The <progress> tag is an HTML5 of the new tag.
<progress max="number">
Value | Description |
---|---|
number | A floating-point number specifying the total work that can be completed before the task is finished. The default value is1.0. |