HTML · Forms and controls

output

The result of a calculation or user action. Associate it with the controls that produced it.

Syntax
<output for="…">…</output>

Example

Try it

More in this group

button datalist fieldset form input input types label legend

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course