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 element, output can be referenced by it's name using the document.forms property. This attribute is also used for collecting values on a form submit. |
for | A space separated list of form element ids (e.g. <inputs id="inp1"> for value is "inp1" ) that the output is meant to display calculations for. |
form | A string representing the <form> that is associated to the output. If the output is actually outside the <form> , this attribute will ensure that the output still belongs to the <form> and subject to collections and submits of said <form> . |