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.
<!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:
- Google Chrome 6.0 and above
- Edge 12.0 and above
- Internet Explorer 10.0
- Firefox 6.0
- Opera 11.0
- Safari 6.0