legend 元素为 fieldset 元素定义标题(caption)。
组合表单中的相关元素:
</>code
- <form>
- <fieldset>
<legend>health information</legend>
- height: <input type="text" />
- weight: <input type="text" />
- </fieldset>
- </form>
在 HTML 4.01 中,align 属性不被赞成使用。
在 XHTML 1.0 Strict DTD 中,align 属性不被支持。
DTD 指示此属性允许在哪种 DTD 中使用。S=Strict, T=Transitional, F=Frameset.
属性 | 值 | 描述 | DTD |
---|---|---|---|
align |
|
不赞成使用。请使用样式代替。 为 fieldset 中的标题定义对齐方式。 |
TF |
</>code
- accesskey, onclick, ondblclick, onmousedown, onmouseup, onmouseover,
- onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
如需完整的描述,请访问事件属性。
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛
copyright © 2013-2024 版权所有 鄂ICP备17013400号