Computer >> Computer tutorials >  >> Programming >> HTML

Define a scalar measurement within a known range in HTML


Use the <meter> tag to define a scalar measurement. The HTML <meter> tag specifies a scalar measurement within a known range (a gauge).

Example

You can try to run the following code to learn how to implement <scalar> tag in HTML −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML meter Tag</title>
   </head>
   <body>
      <meter value = "6" min = "0" max = "10">6 out of 10</meter>
      <br />
      <p>gauge value can be seen here</p>
   </body>
</html>