HTML5 output Tag

The HTML5 output tag shows the result of a calculation. Output the result with the output element,

Example

Here’s the output, firstly the initial values are visible i.e. output 99 for multiplication of 11 and 9,

HTML5 Output Tag

We will drag the val2 range and now the difference can be seen easily. The output is now 1027 i.e. val2 is dragged to 79. The new output is shown below,

HTML5 Output Tag value range

Attributes

  • for– Specifies the list of IDs of other elements, indicating the elements contributed input values
    to the calculation
  • form– This shows the ownership of the element associate with.
  • name – The name of the element.
HTML5 nav Tag
HTML5 progress Tag
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading