Latest web development tutorials

HTML DOM Progress objects

Progress Objects

Progress is HTML5 new objects.

Progress object represents an HTML <progress> element.

<Progress> element indicates the progress of the task.

Object Access Progress

You can access by using the getElementById () <progress> element:

var x = document.getElementById ( "myProgress" ); try

Create Object Progress

You can use document.createElement () method to create <progress> element:

var x = document.createElement ( "PROGRESS" ); try

Progress object properties

Attributes description
labels Back to the list progress bar's label (if any)
max Sets or returns the progress bar max value of the property
position Returns the current position of the progress bar
value Sets or returns the value of the progress bar value property

Standard properties and events

Progress also supports standard Object properties and events .


related articles

HTML Reference Manual: HTML <Progress> tag