Looking for html Answers? Try Ask4KnowledgeBase
Looking for html Keywords? Try Ask4Keywords

HTMLOutput Element


Parameters

AttributeDescription
GlobalAttributes that are available to any HTML5 element. For comprehensive documentation of these attributes see: MDN Global Attributes
nameA 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.
forA 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.
formA 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>.