输出

The grapefruit pie had a radius of 12cm and a height of 2cm.

Radius:
12cm
Height:
2cm

示例代码

This is a demo for <meter> tag.

HTML :

  <p>The grapefruit pie had a radius of 12cm and a height of 2cm.</p>
  <dl>
    <dt>Radius: <dd> <meter min=0 max=20 value=12>12cm</meter>
    <dt>Height: <dd> <meter min=0 max=10 value=2>2cm</meter>
  </dl>