文章·资料 电脑软件 手机应用 网站源码




    本 站 搜 索
   推 荐 文 章        More...
华硕易电脑(ASUS Eee PC 1025C..
先来段开场白:为了外出携带方便,到淘..
Acronis True Image 使用说明
  一款可以在Windows下使用全部功..
Norton Ghost 使用详解
一、分区备份   使用Ghost进行系..
    文 章 阅 读 排 行
手机视频监控 APP 关闭广告:萤..
一、萤石云视频:我的,设置,隐私设置,..
常见数据库介绍与对比(SQL Serv..
常见数据库的对比分析,涵盖你提到的 A..
Windows 系统修改默认文件类型..
Windows 系统文件类型图标,通常由默..
Windows 系统安装或备份时 ISO,..
【ISO 文件】 ISO 文件其实就是光..
Microsoft SQL Server 2000 Per..
  对于第一次安装 Microsoft SQL Se..
颜色与英文单词对照
颜色与英文单词对照 red green bl..
PakePlus 构建 APP 需要 Github..
PakePlus 是一个基于 Rust Tauri 的..
主页真的越Google、越简洁越好吗
  如果你在11月10日早上打开雅虎中..
网络工程师必懂的专业术语
路由器问题:1、什么时候使用多路由协..
为啥现在的电脑都不能安装 Wind..
说实话,这几年如果你尝试在新电脑..
 文 章 信 息
fieldset 和 legend 标签的属性和使用方法
评论()〗〖留言〗〖收藏
〖文章分类:电脑·手机·网络 / 网站设计·开发·优化〗〖阅读选项
<fieldset>除了可以用style设定他的样式以外,谁知道他还有什么其他纯html中自代的属性吗?
</fieldset>
<fieldset><legend>基本信息</legend> </fieldset>
 
<fieldset id=b><legend id=a><span style="width:150;filter:shadow(color=ffedff)">意想不到的效果不错</span></legend><small><p>不知道他还有其他的属性吗?</small></fieldset>
 
<fieldset><legend accesskey="F" align="center">Fieldset的属性:</legend> 
<div style="word-break:break-all;font-size:12px;line-height:16px;padding:10px;"> 
CLASS=classname<br> 
ID=value<br> 
LANG=language<br> 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS <br> 
STYLE=css1-properties<br> 
TITLE=text<br> 
EVENT = script<br> 
</div></fieldset> 
<fieldset><legend accesskey="L" align="center">Legend的属性:</legend> 
<div style="word-break:break-all;font-size:12px;line-height:16px;padding:10px;"> 
ALIGN=BOTTOM | CENTER | LEFT | RIGHT | TOP<br> 
CLASS=classname<br> 
ID=value<br> 
LANG=language<br> 
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS<br> 
STYLE=css1-properties<br> 
TITLE=text<br> 
VALIGN=BOTTOM | TOP<br> 
EVENT= script<br> 
</div></fieldset>


此标签是成对出现的,以<fieldset>开始,以</fieldset>结束 
一个表单可以有多个<fieldset>,每对<fieldset>为一组,每组的内容描述可以使用<legend>说明 
<form action="dreamdu.php" method="post" enctype="multipart/form-data" id="dreamdu">  
 <fieldset>
  <legend>用户名与密码:</legend>
  <input name="hiddenField" type="hidden" value="hiddenvalue" />
  <label for="username">用户名:</label>
  <input type="text" id="username" value="www.dreamdu.com" />
  <label for="pass">密码:</label>
  <input type="password" id="pass" />
 </fieldset>
 <fieldset>
  <legend>性别:</legend>
  <input type="radio" value="1" id="sex" />
  <label for="boy">男</label>
  <input type="radio" value="2" id="sex" />
  <label for="girl">女</label>
  <input type="radio" value="3" id="sex" />
  <label for="sex">保密</label>
 </fieldset>
 <fieldset>
  <legend>我最喜爱的:</legend>
  <input type="checkbox" value="1" id="fav" />
  <label for="computer">计算机</label>
  <input type="checkbox" value="2" id="fav" />
  <label for="trval">旅游</label>
  <input type="checkbox" value="3" id="fav" />
  <label for="buy">购物</label>
 </fieldset>
 <fieldset>
  <legend>对梦之都的意见:</legend>
  <label for="select">你对梦之都的感觉</label>
  <select size="1" id="select">
   <option>很全面,很好</option>
   <option>一般般吧,还要努力</option>
   <option>有很多问题,不过还可以</option>
  </select>
 </fieldset>
 <fieldset>
  <legend>梦之都编程语言选择:</legend>
  <label for="multipleselect">你想在梦之都学习的编程语言</label>
  <select size="10" multiple="multiple" id="multipleselect">
   <option>XHTML</option>
   <option>CSS</option>
   <option>JAVASCRIPT</option>
   <option>XML</option>
   <option>PHP</option>
   <option>C#</option>
   <option>JAVA</option>
   <option>C++</option>
   <option>PERL</option>
  </select>
 </fieldset>
 <fieldset>
  <legend>我要在梦之都学:</legend>
  <label for="WebDesign">选择一个你在梦之都最想学的</label>
  <select id="WebDesign">
   <optgroup label="client">
    <option value="HTML">HTML</option>
    <option value="CSS">CSS</option>
    <option value="javascript">javascript</option>
   </optgroup>
   <optgroup label="server">
    <option value="PHP">PHP</option>
    <option value="ASP">ASP</option>
    <option value="JSP">JSP</option>
   </optgroup>
   <optgroup label="database">
    <option value="Access">Access</option>
    <option value="MySQL">MySQL</option>
    <option value="SQLServer">SQLServer</option>
   </optgroup>
  </select>
 </fieldset>
 <fieldset>
  <legend>个人化信息:</legend>
  <label for="myimage">个性照片上传</label>
  <input type="file" id="myimage" size="35" maxlength="255" />
  <label for="contactus">联系我们</label>
  <textarea cols="50" rows="10" id="contactus">
   dreamer dreamdu[at]163[dot]com
  </textarea>
 </fieldset>
 <fieldset>
  <legend>提交:</legend>
  <input type="submit" value="submit" id="submit" />
  <input type="reset" value="reset" id="reset" />
 </fieldset>
</form>

文章作者:未知  更新日期:2007-12-16
〖文章浏览:〗〖发送文章〗〖打印文章
相关软件 ·Visual Basic:模拟starfield的界面效果在form中有很多飞扬的小圆2005-07-05
·AlexNolan - ADO Fielder V1.04(数据库软件)2026-03-13