A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-progress-max-attribute/ below:

HTML | <progress> max Attribute

HTML | <progress> max Attribute

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 | &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:



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