+ 1

What is <output> tag in html & when do we use of it?? Or why do we use of that??

1st Mar 2018, 10:53 AM
Sina
Sina - avatar
2 Antworten
+ 3
The HTML <output> tag is used for representing the result of a calculation (such as one performed by a script) or a user action (such as entering data into a form control). The basic tag is written like this :- <output for=" " name=" "></output>  with the name attribute defining a name for this element, and the for attribute defining the explicit relationship to be made between the result of a calculation and the elements that represent the values that went into the calculation or that otherwise influenced the calculation. The <output> tag is an inline element and was introduced in HTML 5.
1st Mar 2018, 7:27 PM
Pravin Pandey
Pravin Pandey - avatar
+ 2
Thank you
1st Mar 2018, 7:34 PM
Sina
Sina - avatar