format-output
日期、数字和名字 如何显示日期、数字、金额、名字和地址,以及哪些容易被搞混。
当你的页面把东西加起来时,把结果放进 <output> 标签。比如累计合计、换算后的价格、倒计时。
每个示例都能真实操作,但其中的链接不会跳转到任何地方。 HTML 显示可复制的标记。
<section rst-box >
<form rst-form >
<div rst-field >
<label rst-field-label for ="seats" >座位</label >
<input rst-input ="short" id ="seats" name ="seats" type ="number" value ="12" >
</div >
<p >合计 <output for ="seats" name ="total" >$144.00</output ></p >
</form >
</section >