Open In App

HTML | <progress> max Attribute

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 | &lt;progress&gt; 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:

Article Tags :