<fieldset>和<legend>标签的使用
2016-03-22 20:24
399 查看
<fieldset>可以将form中的各种不同的表单域进行分组,并默认使用边框将不同的fieldset围起来。而<legend>就是显示在边框上的各个组的名称。下面是代码和效果图,一看就明白了。
本文出自 “銅鑼衛門” 博客,请务必保留此出处http://jaeger.blog.51cto.com/11064196/1754065
<form id='info'> <fieldset id='productInfo'> <legend>产品信息</legend> 名称:<input type="text" /> <br/> 数量:<input type="text" /> </fieldset> <fieldset id='customerInfo'> <legend>客户信息</legend> 姓名:<input type="text" /> <br/> 住址:<input type="text" /> </fieldset> </form>
本文出自 “銅鑼衛門” 博客,请务必保留此出处http://jaeger.blog.51cto.com/11064196/1754065
相关文章推荐
- Only the original thread that created a view hierarchy can touch its views.
- Linux apache安装
- “结对编程”心得体会
- 多个控件跑马灯效果
- hash --C++
- Linux内核源码分析方法
- HTML基础篇--网页布局
- 【LeetCode】131.Palindrome Partitioning回文划分
- POJ 3461 Oulipo
- youtube下载视频好工具插件
- Java keyword具体解释
- STL之 stack的基础应用
- 作业4:结对项目—— 词频统计
- 每天进步一点点——五分钟理解一致性哈希算法(consistent hashing)(转)
- OpenCV+VS2013 属性表配置
- Systrace Walkthrough
- ARP病毒
- OpenCV+VS2013 属性表配置
- FastCV Public API最新版本1.7.1概述
- Linux socket IO模型