--- title: HTMLProgressElement slug: Web/API/HTMLProgressElement translation_of: Web/API/HTMLProgressElement ---
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)}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
double
value reflecting the content attribute of the same name, limited to numbers greater than zero. Its default value is 1.0
.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
.double
value that reflects the current value; if the progress bar is an indeterminate progress bar, it returns 0
.No specific method; inherits properties from its parent, {{domxref("HTMLElement")}}.
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. |
{{ 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)}}.