How to set the range that is considered to be of high value in HTML?


Use the high attribute in HTML to set the range that is considered to be of high value in HTML.

Example

You can try to run the following code to implement the high attribute −

<!DOCTYPE html>
<html>
   <body>
      <p>
         Water Level:
         <meter min = "0" low = "40" high = "100" max = "100" value = "75"></meter>
      </p>
   </body>
</html>

Updated on: 03-Mar-2020

61 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements