HTML DOM Progress object
The Progress object
Progress objects are new to HTML5.
The Progress object represents an HTML-lt;progress-gt; element.
The element represents the progress of the task.
Access the Progress object
You can access the element by using getElementById():
Create a Progress object
You can use the document.createElement() method to create an element:
Progress object properties
Property | Describe |
---|---|
labels | Returns a list of labels for the progress bar, if any |
max | Set or return the value of the progress bar max property |
position | Returns the position of the current progress bar |
value | Set or return the value of the progress bar value property |
Standard properties and events
Progress objects also support standard properties and events.
Related articles
HTML Reference Manual: HTML slt;progress.gt; Tags