组合表单中的相关元素:
</>code
- <form>
- <fieldset>
- <legend
align="right"
>health information</legend>- height: <input type="text" />
- weight: <input type="text" />
- </fieldset>
- </form>
align 属性规定 fieldset 中标题的对齐方式。
所有浏览器都支持 align 属性的 "left" 和 "right" 值,除了 opera。"bottom" 值在所有浏览器中都不起作用。
在 HTML 4 中,不赞成使用 align 属性;在 XHTML Strict DTD 中,不支持该属性。
</>code
- <legend align="value">
值 | 描述 |
---|---|
left | 对标题进行左对齐。 |
right | 对标题进行右对齐。 |
top | 对标题进行上对齐。 |
bottom | 对标题进行下对齐。 |
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛
Powered by 365建站网 RSS地图 HTML地图
copyright © 2013-2024 版权所有 鄂ICP备17013400号