HTML <progress> maxAttribute

HTML progress 标签参考手册HTML `<progress>` tag

Examples

Download in progress:

<progress value="22" max="100"></progress>

Try it yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera, Chrome and Safari 6 support the max attribute.

Note:Internet Explorer 9 and earlier versions do not support the max attribute of the `<progress>` tag.


Definition and Usage

The max attribute specifies how much work the task requires in total.


Differences between HTML 4.01 and HTML5

The `<progress>` tag is a new tag in HTML5.


Syntax

<progress max="number">

Attribute Values

Value Description
number A floating-point number that specifies how much work the task requires in total.


HTML progress 标签参考手册HTML `<progress>` tag Other Extensions