How to use output tag


<output>

All Tags not showing in online page, but show on view source.

<form oninput="x.value=parseInt(first.value)+parseInt(sec.value)">
    <input type="number" name="first" value="0"> +
    <input type="number" name="sec" value="0">=
    <output name="x" for="a b"></output>
</form>

Code show like this:

+
=

Browser Support

The <output> tag is not supported in Internet Explorer.

What is output tag

output tag used to for output in html form.

Leave a Reply

Your email address will not be published. Required fields are marked *