Home >Web Front-end >Front-end Q&A >How to use html output tag
html The output tag is used to define different types of output, such as the output of a script. The
#html How to use the output tag?
Function: Define different types of output, such as script output.
Description: The
Note: Internet Explorer 8 and earlier versions do not support the
html output tag example
<!DOCTYPE html> <html> <body> <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <input type="range" id="a" value="50">100 +<input type="number" id="b" value="50"> =<output name="x" for="a b"></output> </form> <p><b>注释:</b>Internet Explorer 不支持 output 标签。</p> </body> </html>
Effect:
The above is the detailed content of How to use html output tag. For more information, please follow other related articles on the PHP Chinese website!