<output> tag in HTML5

The <output> tag represents the result of a calculation that is performed by a client-side script.

Important Description

  • The <output> tag is new element in HTML5.
  • Open and close tag required of <output>.

Example of <output>

Result Look Like

0 100 + =

<output> Tag Browser Support

The form attribute of the <output> element is not supported in IE/Edge.

Element Chrome Edge Firefox Safari Opera
<output> Yes Yes Yes Yes Yes
Version 10.0 13.0 4.0 5.1 11.0

Global Attributes

Event Attributes

Attributes

Attribute Value Description
for element_id The relationship between the result of the calculation, and the elements used in the calculation
form form_id Specifies one or more forms the output element belongs to
name name Defines a name for the output element

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)