width
Contains the preferred count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS widthinstead.
value
Definition and Usage
The value attribute specifies how much of the task has been completed.The value must be a non-negative number between 0 and the max value.
Attribute Values
| Value | Description |
|---|---|
| number | A floating point number that specifies how much of the task has been completed |
max
Definition and Usage
The max attribute specifies how much work the task requires in total.
The progress bar can be added with <progress>; the progress value is determined with the value, min and max attributes, as follows.It should have a value greater than zero and a valid floating point number.
<progress value="10" max="100"></progress>
Attribute Values
| Value | Description |
|---|---|
| number | A floating point number that specifies how much work the task requires in total before it can be considered complete. Default value is 1.0 |
Since this is a native progress bar, the presentation is vary dependent on the platform. Below is how a native progress bar looks in Windows and OSX.
