![]() |
VOOZH | about |
The <output> tag in HTML is used to display the result of a calculation or user action. It is commonly used in forms to show dynamic output generated by scripts.
It also supports the Global Attributes and Event Attributes in HTML. The content within the <output> tag can be manipulated dynamically through JavaScript.
Syntax:
<output> Results... </output>Example 1: Implementation of output tag with an example.
Example 2: <output> tag is used with for and form attribute.