标签 字段集 来创建注册表方法

来源:互联网 发布:黑暗网络 编辑:程序博客网 时间:2024/06/05 00:31

标记单个表单控件<label>标签式内联元素,它可以喝任何其他内联元素一样一起设计。<fieldset>标签式块元素,用来将相关元件(例如一组按钮)组合在一起,<legend>元素用来做<fieldset>的标签。<fieldset>标签创建围绕其包装的表单元素的边框,<legend>标签设置介绍性标题

效果如下:


代码:

<html><head><style type="text/css">fieldset{width:664px;height:260px;border:1px solid #d5d5d5;padding-left:20px;}legend{color:#a53e91;font-size:20px;font-family:"黑体";}label{font-weight:bold;}form{color:#787878;}</style></head><body><form id="form1" name="form1" method="post" ><fieldset><legend>填写信息</legend><br/><br/><label for="name3" class="juli">用户名:</label></fieldset></form></body></html>


原创粉丝点击