WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Meter Object


Meter Object

The Meter Object is new in HTML5.

The Meter object speaks to a HTML <meter> element.

Note: The <meter> component isn't upheld in Internet Explorer or Safari 5, and prior versions.

Access a Meter Object

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

var x = document.getElementById("myMeter");

Create a Meter Object

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

var x = document.createElement("METER");

Meter Object Properties

Property Description
high Sets or returns the estimation of the high trait in a gauge
labels Returns a rundown of <label> components that are names for the gauge
low Sets or returns the estimation of the low quality in a gauge
max Sets or returns the estimation of the maximum property in a gauge
min Sets or returns the estimation of the min property in a gauge
optimum Sets or returns the estimation of the ideal property in a gauge
value Sets or returns the estimation of the esteem quality in a gauge