Easy Tutorial
❮ Att Input Checked Att Td Align ❯

HTML <output> name Attribute

HTML <output> Tag

Example

Perform a calculation and display the result in the <output> element:


Browser Support

Firefox, Opera, Chrome, and Safari support the name attribute.

Note: Internet Explorer does not support the <output> tag.


Definition and Usage

The name attribute specifies the name of the <output> element.

The name attribute is used to reference form data after a form is submitted, or to reference the element in JavaScript.


Differences Between HTML 4.01 and HTML5

The <output> tag is new in HTML5.


Syntax

Attribute Values

Value Description
name Specifies the name of the <output> element.

❮ Att Input Checked Att Td Align ❯