HTML output tag

<output> tag in HTML

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

Example

Try Yourself

oninput attribute in <output> tag

The oninput attribute is used to call or execute javascript code while any changes occur in specified HTML controls.

Example 1 - output tag and textbox

Try Yourself

Example 2 - output tag and range

Try Yourself

Example 3 - Adding two text box value

Try Yourself