<img src="http://files.jb51.net/file_images/article/201405/201405091054245.gif?201449105445" alt=""> <br>代码实现方式: <br><br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode68'));"><u>复制代码</u></span></div>代码如下:</div> <div class="msgborder" id="phpcode68"> <br><!DOCTYPE html> <br> <br>新しいドキュメント </title> <br><meta name="Generator" content="EditPlus"> <br><meta name="著者" content=""> <br><meta name="キーワード" content=""> <br><meta name="説明" content=""> <br><meta charset="utf-8"> <br><style type="text/css"> <br>div{ width:35%;margin-left:32%;} <br></style> <br></head> <br> <br><div> <br><form class="f1" action="http://www.baidu.com" method="get" > <br><フィールドセット> <br><legend>表单の注記</legend> <br><テーブル幅=100%> <br> <br><tr ><td class=“left” width=40% align="right"><label for="t1">姓名:</label></td> <br><td class="right"><input type="text" id="t1" name="名前"></td> <br></tr> <br><tr><td class=“left” width=40% align="right"><label for="Password1">密码:</label></td> <br><td class="right"><input id="Password1" type="password" name="Password" /></td> <br></tr> <br><tr><td class=“left” width=40% align="right"><label for="e1">邮箱:</label></td> <br><td class="right"><input type="email" id="e1" name="youxiang" ></td> <br></tr> <br><tr><td class=“left” width=40% align="right"><label for="1">性别:</label></td> <br><td class="right"><input type="radio" id="1" name="ssex" value="nan" />男<!-- name设置成一样的就行了---> <br /><input type="radio" id="2" name="ssex" value="nv" />女 <br></td> <br></tr> <br><tr><td class=“left” width=40% align="right">地区:</td> <br><td><select id="selc" name="place"> <br><option value="quanzhou">泉州</option> <br><option value="厦門">厦门</option> <br><option value="漳州" >漳州</option> <br></select> <br></td> <br></tr> <br><tr><td class=“left” width=40% align="right"><label for="txtarea">简 介:</label></td> <br><td><textarea id="txtarea"></textarea></td> <br></tr> <br><tr><td class=“left” width=40% align="right">兴 趣:</td> <br><td><input type="checkbox" id="cbox1" name="dushu" value="c1">读书 <br><input type="checkbox" id="cbox2" name ="yundong" value="c2">运動 <br><input type="checkbox" id="cbox3"name="chihe" value="c3">吃喝 <br></td> <br></tr> <br><tr><td class=“left” width=40% align="right">上传:</td> <br><td> <input type="file" id="f1" name="上川" value="File1" /></td> <br></tr> <br><tr><td class=“left” width=40% align="right" rowspan=2> <br><input id="Submit1" type="submit" value="提交" /> <br></td> <br> </td> <td> <input id="Reset1" type="reset" value="重置" /> <br></td> <br></tr> <br></tbody> <br></table> <br></fieldset> <br></form> <br> <br></body> <br></html> <br><br>注意この中の代コードラベルの機能はネズミ标在点击文本の時間自動聚焦在文本框里!复制代码<br><br><div class="msgheader">代码如下:<div class="right"><div class="msgborder" id="phpcode69"> <br><label for="t1">姓名:</label> <br> </div></div> </div> </td> </div> </div>