Skip to content
Sections
Fiesta

format-output

Dates, numbers and names How to show dates, numbers, money, names and addresses, and which ones people mix up.

When your page adds something up, put the answer in an <output> tag. A running total, a converted price, a countdown.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Preview
<section rst-box>
  <form rst-form>
    <div rst-field>
      <label rst-field-label for="seats">Seats</label>
      <input rst-input="short" id="seats" name="seats" type="number" value="12">
    </div>
    <p>Total <output for="seats" name="total">$144.00</output></p>
  </form>
</section>