<output> Results... </output>
Attributes: The output tag contains three attributes which are listed below:
- for: This attribute contains an attribute value element_id which is used to specify the relation between result and calculations.
- form: This attribute contains an attribute value form_id which is used to specify the one or more forms of output elements.
- name: This attribute contains an attribute value name which is used to specify the name of output element.
Below examples illustrate the <output> element in HTML:
Example 2: In this example, <output> tag is used with for and form attribute.
Supported Browsers: The browser supported by <output> tag are listed below:
- Google Chrome 10.0
- Internet Explorer 13.0
- Firefox 4.0
- Opera 11.0
- Apple Safari 5.1
- What purpose does a <script> tag serve inside of a <noscript> tag?
- Difference between <article> tag and <section> tag
- Why <big> tag is not in HTML5 while <small> tag exists ?
- HTML | <html> Tag
- HTML | <section> Tag
- HTML | Style Tag
- HTML | <marquee> tag
- Div Tag | HTML
- HTML | <noframes> Tag
- span Tag | HTML
- HTML | <picture> Tag
- HTML | <font> Tag
- HTML 5 | <header> Tag
- HTML | <hgroup> Tag
- HTML | <q> Tag
- HTML | Object tag
- HTML | Phrase Tag
- HTML 5 | <summary> Tag
- HTML | <hr> Tag
- HTML | <nav> Tag
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.