HTML - attributes - high

revision:


Content

"high" attribute : specifies the highest value of a range syntax some examples


"high" attribute : specifies the highest value of a range

top

It specifies where the gauge's value is considered to be a high value.
The high attribute value must be less than the "max attribute" value, and it also must be greater than the "low" and "min attribute" values.
This attribute can be used on the <meter> element.


syntax

top

<meter high="number "></meter >

number: contains the floating point number, which is considered to be a high value.


some examples

top

codes:
                    <p class="spec"><label for="anna">Anna's score:
                    <meter id="anna" min="0" low="40" high="90" max="100" value="95"></meter></p>
                        
                    <p class="spec"><label for="peter">Peter's score:</label>
                    <meter id="peter" min="0" low="40" high="90" max="100" value="65"></meter></p>
                            
                    <p class="spec"><label for="linda">Linda's score:</label>
                    <meter id="linda" min="0" low="40" high="90" max="100" value="35"></meter></p>
                

Sachin's score: 2 out of 10

Laxman's score: 60% from 100%

codes:
                    <p class="spec">Sachin's score:
                        <meter value="2" min="0" max="10" high="6">2 out of 10</meter></p>
                    <p class="spec">Laxman's score:
                        <meter value="0.6" max="1.0" min="0" high="0.6">60% from 100%</meter></p>