XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / output

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

output

HTML 5

<output> ... </output>

Marks the result of a calculation, most likely the output of a script.

Notes

HTML 5 only.

Start/end tag

Required/required

Attributes

Global HTML 5 attributes

  • for="Text"

    Creates an explicit relationship between the calculation result and one or more named elements on the page.

  • form="ID des übergeordneten Formulars"

    Creates an explicit association between the element and its parent form. With this method, the element does not have to be a child of the corresponding form element.

  • name="Text"

    Gives the element a name.

Example

Summe: <output name="summe" onformchange="value = round1.value + round2.value">0</output>

 

> back to the alphabetical list of elements

   

 

 

 

back to top