HTML output form 属性
位于 form 表单外的 <output> 元素(但仍然属于 form 表单的一部分): 实例 Run this code » <form action="demo_form.html" id="numform" onin...
位于 form 表单外的 <output> 元素(但仍然属于 form 表单的一部分): 实例 Run this code » <form action="demo_form.html" id="numform" onin...
将计算结果显示在 lt;output> 元素中: 实例 Run this code » <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <i...
HTML 表单中的下拉列表: 实例 Run this code » <form action="demo_form.html"> <select name="cars"> <option value="volv...
带有预先选定的选项的下拉列表: 实例 Run this code » <select> <option value="volvo">Volvo</option> <option value="saa...
在 <option> 元素中使用 label 属性: 实例 Run this code » <select> <option label="Volvo">Volvo (Latin for "I roll"...
带有 4 个选项的下拉列表,一个选项已被禁用: 实例 Run this code » <select> <option value="volvo" disabled>Volvo</option> <...
两个带有 label 的选项组: 实例 Run this code » <select> <optgroup label="Swedish Cars"> <option value="volvo">Vol...
一个被禁用的选项组: 实例 Run this code » <select> <optgroup label="German Cars" disabled> <option value="mercedes"&g...
带有大写罗马数字的有序列表: 实例 Run this code » <ol type="I"> <li>Coffee</li> <li>Tea</li> <li>Mil...
从 "50" 开始的有序列表: 实例 Run this code » <ol start="50"> <li>Coffee</li> <li>Tea</li> <li>...