HTMLProgressElement

Did you know that you can read content offline by using one of these tools? If you would like to read offline MDN content in another format, let us know by commenting on Bug 665750.

Dash App
この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

« DOM Reference

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

Properties

Inherits properties from its parent, HTMLElement.

Name Type Description
max double This property reflect the content attribute of the same name, limited to numbers greater than zero. Its default value is 1.0.
position Read only double If the progress bar is an indeterminate progress bar, then the position property return −1. Otherwise, it returns the result of dividing the current value by the maximum value.
value double If the progress bar is an indeterminate progress bar, then this property return 0. Otherwise, it returns the current value.
labels Read only NodeList A list of <label> elements that are labels for this element.

Methods

No specific method; inherits properties from its parent, HTMLElement.

Specifications

Specification Status Comment
WHATWG HTML Living Standard Living Standard No change from HTML5.
HTML5 Candidate Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) (Yes) (Yes) (Yes)

See also

  • The HTML element implementing this interface: <progress>

タグ (9)