Horje

How to add HTML <output> form Attribute

It is An <output> element which is located outside a form (but still a part of the form).

index.html
Example: HTML
<form action="/action_page.php" id="numform" oninput="x.value=parseInt(a.value)+parseInt(b.value)">
<input type="range" id="a" name="a" value="50">
+ <input type="number" id="b" name="b" value="25">
<br><br>
<input type="submit">
</form>

Output should be:

How to add HTML <output> form Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin