YouTip LogoYouTip

Dom Obj Progress

# HTML DOM Progress Object * * * ## Progress Object The Progress object is new in HTML5. The Progress object represents an HTML `` element. The `` element represents the progress of a task. ### Accessing the Progress Object You can access a `` element by using the `getElementById()` method: ```javascript var x = document.getElementById("myProgress"); (#) ### Creating a Progress Object You can create a `` element by using the `document.createElement()` method: ```javascript var x = document.createElement("PROGRESS"); (#) ## Progress Object Properties | Property | Description | | --- | --- | | labels | Returns a list of labels for the progress bar (if any) | | (#) | Sets or returns the value of the max attribute of the progress bar | | (#) | Returns the current position of the progress bar | | (#) | Sets or returns the value of the value attribute of the progress bar | ## Standard Properties and Events The Progress object also supports standard (#) and (#). * * * ## Related Articles HTML Reference: [HTML `` Tag](#)
← Prop Progress ValueProp Progress Position β†’