网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: HTML :: HTML <fieldset>标签

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

HTML <fieldset>标签


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:2686 :: ::

定义与用法

The fieldset element draws a box around its containing elements.
fieldset元素可以将它所包围的元素用线框衬托出来


它在HTML和XHTML中的区别

NONE


实例

代码 输出结果
<fieldset>
Height <input type="text" size="3" />
Weight <input type="text" size="3" />
</fieldset>
Height Weight


标准属性

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.
查看完整的描述

事件属性

accesskey, onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

For a full description, go to Event Attributes.
查看完整的描述


尝试与演示

Fieldset around data
How to draw a border with a caption around your data.
怎样给你的数据外用线框衬托出来

评论 (0) All