HTML <output> Tag
<output> Results... </output>
Attributes: The output tag accepts 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 one or more forms of output elements.
- name: This attribute contains an attribute value name that is used to specify the name of the output element.
Example 2: In this example, <output> tag is used with for and form attribute.
- Google Chrome 10.0
- Internet Explorer 13.0
- Firefox 4.0
- Opera 11.0
- Apple Safari 5.1
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.