Skip to content
Related Articles

Related Articles

HTML | <progress> value Attribute
  • Last Updated : 29 May, 2019

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:

  • Google Chrome 8.0
  • Internet Explorer 10.0
  • Firefox 16.0
  • Safari 6.0
  • Opera 11.0
My Personal Notes arrow_drop_up
Recommended Articles
Page :