output

UK[ˈaʊtpʊt] US[ˈaʊtˌpʊt]

n.Output; output; work; [calculation] output signal

vt .output

html5<output> tag syntax

Function: The <output> tag defines different types of output, such as the output of a script.

Parameters:

AttributeValueDescription
forid of another elementDefine one or more elements related to the output domain.
formformnameDefine one or more forms to which the input fields belong.
nameunique name Defines the unique name of the object. (Used when submitting the form)


html5<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>
Run instance »

Click the "Run instance" button to view the online instance