English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

Complete List of HTML Tags

HTML progress max attribute

The progress max attribute is a floating-point number that specifies the total work that can be completed before the task is finished.

 HTML <progress> tag

Online Examples

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 ‹/›

Browser Compatibility

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.

Definition and Usage

The max attribute specifies how much work is needed in total for the task.

HTML 4.01 with HTML5differences

The <progress> tag is an HTML5 of the new tag.

Syntax

<progress max="number">

Attribute value

ValueDescription
numberA floating-point number specifying the total work that can be completed before the task is finished. The default value is1.0.
 HTML <progress> tag