output

The output HTML element represents the result of a calculation.

Syntax

HTML

<output attribute-name="attribute-value"></output>

Attributes

Global

Name Value Description
for IDREFS Identifies one or more elements associated with the calculation whose result this output element represents
form IDREF Identifies a form with which to associate the element
name string Name part of the name/value pair associated with this element for the purposes of form submission

Examples

for

form

name

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu