HTML OUTPUT Tag
The OUTPUT tag has three attributes i.e. form, name, and for. The form attribute is used to specify the name of the form in which the output is displayed. The name attribute is used to specify the name of the current tag and the for attribute is used to specify the name of the control in which the result is displayed.
OUTPUT Tag Example
Following is an example of using the OUTPUT tag.
<FORM> <OUTPUT name="result"> </OUTPUT> </FORM>
OUTPUT Tag Attributes
Following table lists the attributes of the OUTPUT tag.
|For||Associates the output with a specific control. The value of this attribute must match the id attribute of its associated control.|
|form||Refers to the id of a form|
|name||Specifies the name of the OUTPUT tag|
« Previous Tutorial Next Tutorial »