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 > input 与lable标签 < label for ="fp1" ACCESSKEY ="1" > # < u > 1 </ u > : Press Alt+1 to set focus to textbox </ label >< input type ="text" name ="T1" value =text1 size ="20" tableindex ="1" id ="fp1" > 点击一下标签label 就会使input 得到焦点 转载于:https://www.cnblogs.com/kttt/archive/2006/12/30/608348.html