Perform a calculation and show the result in an <output> element:
![]()
The name attribute is supported in Firefox, Opera, Chrome, and Safari.
Note: The <output> tag is not supported in Internet Explorer.
The name attribute specifies the name of an <output> element.
The name attribute is used to reference form data after it has been submitted, or to reference the element in a JavaScript.
The <output> tag is new in HTML5.
| Value | Description |
|---|---|
| name | Specifies the name of the <output> element |
HTML <output> tag
Your message has been sent to W3Schools.