+ 1
What is <output> tag in html & when do we use of it?? Or why do we use of that??
2 Respuestas
+ 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.
+ 2
Thank you