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 6.0
- Edge 12.0
- Internet Explorer 10.0
- Firefox 6.0
- Safari 6.0
- Opera 11.0