<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>碼>; <br> <br>新文件 <br><meta name="Generator" content="EditPlus"> <br><meta name="作者" content=""> <br><meta name="Keywords" content=""> <br> <br> <br> <br>div{ width:35%;margin-left:32%;} <br> <br>頭> <br> <br><div>; <br><form class="f1" action="http://www.baidu.com" method="get"> <br>; <br>表單的註冊圖例> <br> <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="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="youyang"></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> <br><option value="泉州">泉州</option>; <br>廈門選項> <br><option value="漳州">漳州</option>; <br>選擇> <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="shangchuan" 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> <input id="Reset1" type="reset" value="重置"> <br> </td> <br> </tr> <br> <br>表> <br> <br>表格> <br> </form> </div> <br>身體> <br> </div>