html tutorial - low Attribute in HTML - html5 - html code - html form



Low attribute in html

Learn html - html tutorial - Low attribute in html - html examples - html programs

  • The low attribute describes the range where the meter's value is treated to be a low value.
  • This attribute value must be less than the max and high attribute values, and also must be greater than the min attribute value.

Syntax for low attribute in HTML:

<meter low="number">

Differences between HTML 4.01 and HTML5 for low attribute:

HTML 4.01

  • HTML4 does not support<meter> tag

HTML 5

Applies To:

Element Attribute
<meter> low

Attribute Values:

Value Description
number Defines a floating-point number which is treated to be a low value.

Sample Coding for low Attribute in HTML:

Tryit<!DOCTYPE html>
<html>
        <head>
        <title>Wikitechy low attribute</title>
        </head>
 <body>
        <p>Display a gauge:</p>
        <p>Venkat's score:
        <meter min="0" low="20" high="70" max="100" value="50">
        </meter>
        </p>
        <p>Arun's score: 
        <meter min="0" low="20" high="70" max="100" value="15">
        </meter>
        </p>
</body>
</html>

Code Explanation for low Attribute in HTML:

low Attribute Code Explanation

  1. <meter> tag is used to measure the data within a particular range.
  2. “low” attribute used to set the lowest value for meter as “20”.

Output for low Attribute in HTML:

low Attribute Tag Output

  1. The meter is in green color because the value of the <meter> is “50” which is greater than to the low value (20).
  2. The meter is in yellow color because the value of the <meter> is “15” which is less than to the low value (20).

Browser Support for low Attribute in HTML:

8.0 No 6.0 6.0 11.0

Related Searches to low Attribute in html