--- title: HTMLProgressElement slug: Web/API/HTMLProgressElement translation_of: Web/API/HTMLProgressElement ---
{{ APIRef("HTML DOM") }}

The HTMLProgressElement interface provides special properties and methods (beyond the regular {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating the layout and presentation of {{HTMLElement("progress")}} elements.

{{InheritanceDiagram(600, 120)}}

Properties

Inherits properties from its parent, {{domxref("HTMLElement")}}.

{{domxref("HTMLProgressElement.max")}}
Is a double value reflecting the content attribute of the same name, limited to numbers greater than zero. Its default value is 1.0.
{{domxref("HTMLProgressElement.position")}}{{readonlyInline}}
Returns a double value returning the result of dividing the current value (value) by the maximum value (max); if the progress bar is an indeterminate progress bar, it returns -1.
{{domxref("HTMLProgressElement.value")}}
Is a double value that reflects the current value; if the progress bar is an indeterminate progress bar, it returns 0.
{{domxref("HTMLProgressElement.labels")}}{{readonlyInline}}
Returns {{domxref("NodeList")}} containing the list of {{HTMLElement("label")}} elements that are labels for this element.

Methods

No specific method; inherits properties from its parent, {{domxref("HTMLElement")}}.

Specifications

Specification Status Comment
{{SpecName('HTML WHATWG', "forms.html#the-progress-element", "HTMLProgressElement")}} {{Spec2('HTML WHATWG')}} No change from {{SpecName("HTML5 W3C")}}.
{{SpecName('HTML5.1', "forms.html#the-progress-element", "HTMLProgressElement")}} {{Spec2('HTML5.1')}}  
{{SpecName('HTML5 W3C', "forms.html#the-progress-element", "HTMLProgressElement")}} {{Spec2('HTML5 W3C')}} Initial definition.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{CompatVersionUnknown()}} {{CompatVersionUnknown}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}}
labels {{CompatVersionUnknown}} {{CompatNo}} {{CompatGeckoDesktop(56)}}[1] {{CompatNo}} {{CompatVersionUnknown}} {{CompatVersionUnknown}}
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatVersionUnknown()}} {{CompatVersionUnknown}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}} {{CompatVersionUnknown()}}
labels {{CompatUnknown}} {{CompatNo}} {{CompatGeckoMobile(56)}}[1] {{CompatNo}} {{CompatUnknown}} {{CompatUnknown}}

[1] Implemented in {{bug(556743)}}.

See also