Last Updated : 28 Jul, 2022
The HTML | max Attribute is used to specify the total work is to be done for completing a task.
Syntax:
<progress max="number">
Attribute Values: It contains the numeric value that specifies the total work is to be done for completing the task.
Example: This Example illustrates the use of max attribute in <progress> element.
html
<!DOCTYPE html>
<html>
<head>
<title>
max Attribute
</title>
</head>
<body>
<h1 style="color:green;">
GeeksForGeeks
</h1>
<h2>
HTML | <progress> max Attribute
</h2> Downloading progress for a song:
<progress value="57" max="100">
</progress>
</body>
</html>
Output:
Supported Browsers: The browser supported by HTML | <progress>max Attribute are listed below:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4