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




High attribute in html

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

  • The high attribute is used to specify the range where the gauge's value is considered to be a high value.
  • The value of high attribute must be less than max attribute value, and greater than to the low and minimum values.

Syntax for high attribute in HTML:

<meter high="number">

Differences between HTML 4.01 and HTML5 for high attribute:

HTML 4.01

  • HTML4 does not support <meter> tag.

HTML 5

Applies To:

Element Attribute
<meter> high

Value of high attribute in HTML:

Value Description
number A floating point value that is consider as a high value.

Sample Coding for high Attribute in HTML:

Tryit<!DOCTYPE html>
<html>
    <head>
        <title>Wikitechy high attribute</title>
    </head>
    <body>
        <p>Display a gauge:
        </p >
        <p >HTML:<meter min="0" low="50" high="80" max="100" value="95">
        </meter >
        </p >
        <p >CSS:<meter min="0" low="50" high="80" max="100" value="40">
        </meter > 
        </p >
        <p >PHP:<meter min="0" low="50" high="80" max="100" value="70">
        </meter >
        </p >
        </body>
</html>

Code Explanation for high Attribute in HTML:

high Attribute Code Explanation

  1. <meter> tag used define a scalar measurement.
  2. min attribute used to set the minimum value.
  3. low attribute used to set the lowest value.
  4. high attribute used to set the highest value.
  5. max attribute used to set the maximum value.
  6. value attribute is used to set the value of the meter.

Output for high Attribute in HTML:

high Attribute Tag Output

  1. The output shows the meter for HTML, CSS and PHP.
  2. The yellow color indicates the meter value is not in specified range.
  3. The green color indicates the meter value is in the specified range.

Browser Support for high Attribute in HTML:

8.0 No 6.0 6.0 11.0

Related Searches to high Attribute in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×