How to specify how much work the task requires in total in HTML5 ?
The <progress> tag shows how much a task is completed.
- max: The overall amount of work required for the mission. 1 is the default value.
- value: Indicates the proportion of the task that has been completed.
Example 1: The following example demonstrates to use of the <progress> tag to display a progress bar.
Example 2: The following example demonstrates how to represent the rating for different programming languages.
The HTML global attributes are also supported by the <progress> tag. The HTML event attributes are also supported by the <progress> tag.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.