英 [ˈaʊtpʊt]   美 [ˈaʊtˌpʊt]  

n.输出;产量;作品;[计]输出信号

vt.输出

复数: outputs

html output标签 语法

作用:定义不同类型的输出,比如脚本的输出。

说明:<output> 标签是 HTML 5 中的新标签。

注释:nternet Explorer 8 以及更早的版本不支持 <output> 标签。

html output标签 示例

<!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>

运行实例 »

点击 "运行实例" 按钮查看在线实例

热门推荐