<output>



HTML <output> Tag 


The <output> tag is used to specify the result or any information returned from a script.


Syntax : 

<output>This is in output tag</output>

Example :

<form onsubmit="return false" oninput="volume.value = (2 * 3.14 * radius.valueAsNumber)">
    <fieldset>
        <legend>Find Circumference of Circle</legend>
        <p>
            <label for="radius">Volume</label> <input type="number" id="radius" name="radius" min="0" max="100" value="0" />
        </p>
        <p>Circumference of Circle: <output name="volume" for="radius">0</output> m</p>
    </fieldset>
</form>

Output :