THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Progress Object


Progress Object

The Advancement Object is new in HTML5.

The Progress object speaks to a HTML <progress> element.

The <progress> component speaks to the advancement of a task.

Access a Progress Object

You can get to a <progress> component by utilizing getElementById():

var x = document.getElementById("myProgress"); Try it

Create a Progress Object

You can make a <progress> component by utilizing the document.createElement() method:

var x = document.createElement("PROGRESS"); Try it

Progress Object Properties

Property Description
labels Returns a rundown of the advancement bar's marks (if any)
max Sets or returns the estimation of the maximum quality of an advancement bar
position Returns the present position of the advancement bar
value Sets or returns the estimation of the esteem characteristic of an advancement bar

Standard Properties and Events

The Progress object additionally underpins the standard properties and events.


Related Pages

HTML reference: HTML <progress> tag