Skip to content
Related Articles

Related Articles

HTML | <progress> max Attribute
  • Last Updated : 29 Apr, 2019

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
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :