Open In App

HTML | <progress> value Attribute

The <progress> value Attribute is used to specify the completed task using a progress bar. 

Syntax:



<progress value="number">

Attribute Value: It contains single value number which is a floating point number and used to specify the completed task. 

Note: This attribute is new in HTML 5. 



Example: 




<!DOCTYPE html>
<html>
 
<head>
    <title>
        HTML progress value Attribute
    </title>
</head>
 
<body>
    <h1 style="color:green;">
        GeeksforGeeks
    </h1>
 
    <h2>
        HTML progress value Attribute
    </h2> Downloading progress for a song:
    <progress value="57"
              max="100">
  </progress>
</body>
 
</html>

Output:

  

Supported Browsers: The browser supported by HTML <progress> value Attribute are listed below:

Article Tags :