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-value-attribute/ below:

HTML | <progress> value Attribute

HTML | <progress> value Attribute

Last Updated : 15 Jul, 2022

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: 

html
<!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:



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