Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <h1>The <code>meter</code> element</h1>
  <section>
    <h2>Optimum value in middle of range</h2>
<meter min=0 low=3 high=7 optimum=5 max=10 value=0>0</meter>
<meter min=0 low=3 high=7 optimum=5 max=10 value=2>2</meter>
<meter min=0 low=3 high=7 optimum=5 max=10 value=5>5</meter>
<meter min=0 low=3 high=7 optimum=5 max=10 value=8>8</meter>
<meter min=0 low=3 high=7 optimum=5 max=10 value=10>10</meter>
  </section>
  <section>
    <h2>Optimum value at low end of range</h2>
<meter min=0 low=3 high=7 optimum=1 max=10 value=0>0</meter>
<meter min=0 low=3 high=7 optimum=1 max=10 value=2>2</meter>
<meter min=0 low=3 high=7 optimum=1 max=10 value=5>5</meter>
<meter min=0 low=3 high=7 optimum=1 max=10 value=8>8</meter>
<meter min=0 low=3 high=7 optimum=1 max=10 value=10>10</meter>
  </section>
  <section>
    <h2>Optimum value at high end of range</h2>
<meter min=0 low=3 high=7 optimum=9 max=10 value=0>0</meter>
<meter min=0 low=3 high=7 optimum=9 max=10 value=2>2</meter>
<meter min=0 low=3 high=7 optimum=9 max=10 value=5>5</meter>
<meter min=0 low=3 high=7 optimum=9 max=10 value=8>8</meter>
<meter min=0 low=3 high=7 optimum=9 max=10 value=10>10</meter>
  </section>
  <p>All the meters show a 0 to 10 range, 
    with low cut-off at 3, high cut-off at 7.
  </p>
</body>
</html>
 
h2 {
  font-size: 120%;
  margin: 1em 0 0;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers