HTML5 Tutorials & More

<output> Tag

The <output> tag defines different types of output, such as output written by a script.

Supported In HTML4: Yes

Supported In HTML5: Yes

HTML4 vs HTML5 Differences:

Attributes

Title Values Description HTML4 Support HTML5 Support
for id of another element Defines one ore more elements the output field relates to. No Yes
form formname Defines one ore more forms the output field belongs to. No No
name unique name Defines a unique name for the object (to use when a form is submitted). No No

Standard Attributes

All standard attributes are supported.

Event Attributes

All event attributes are supported.

HTML5 Tags