Output Element

suggest change

Versions

HTML5.

Parameters

Attribute | Description |
—— | —— |
Global | Attributes that are available to any HTML5 element. For comprehensive documentation of these attributes see: MDN Global Attributes |
name | A string representing the name of an output. As a form control, output can be referenced by its name using the document.forms property. This attribute is also used when collecting values on submit. | for | A space-separated list of control ids (for example <input id="inp1"> means for includes inp1) that the output describes calculations for. | form | The id of the <form> associated with the output. If the output is outside the form, this attribute still associates it with that form. |

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents