练习1
<body> <form action="https://www.baidu.com/" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th align="left" scope="row">帐号:<input type="text" name="z" /></th> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th align="left" scope="row">密码:<input type="text" name="x" /></th> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th align="left" scope="row">密码强度:</th> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20">确认密码:<input type="text" name="c" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>年龄:<input type="text" name="d" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>邮箱:<input type="text" name="s" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>手机:<input type="text" name="a" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>固定电话:<input type="text" name="m" /></td> </tr> </table> <table width="100%" border="0" cellspacing="n" cellpadding="0"> <tr> <td>身份证号码:<input type="text" name="b" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>日期:<input type="text" name="v" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>性别:<input type="radio" value="na" name="n" id="le" /> <label for="le">男</label> <input type='radio'" name="n" value="NA" id="la" /> <label for="la">女</label> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>类型:<select name="w"> <option>实习</option> <option>实践</option> <option>实训</option> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>入职日期:<input type="date" name="yi" /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><input type="submit" name="y" value="提交" /></td> </tr> </table> </html>
练习2
<body> <form action='https://www.baidu.com/' method="post"> <span>姓名:</span> <input type="text" name="a" /> <P><span>性别:</span> <input type='radio'" name="n" value="NAN" />男 <input type='radio'" name="n" value="NA" />女 </P> <div>职业: <input type="text" name="b" /></div> <p><span>所在地:</span> <input type="text" name="c" /></p> <span>公司/个人:</span> <input type='radio'" name="m" value="ac" />公司 <input type='radio'" name="m" value="ab" />个人 <p><span>联系方式:</span> <input type="text" name="q" /></p> <P><span>经营意向:</span> <textarea name="k"></textarea></P> <div><input type="submit" name="y" value="提交" />感谢您的加盟 </div> </form> </body>
练习3
<body> <center><iframe src="练习.html" scrolling="no" frameborder="0" width="500" height="300"></iframe></center> <marquee behavior="slide" scrollamount="12"><img src="1105105.jpg" /></marquee> </body>
练习4
/head> <frameset cols="300,*"> <frame src="766974.jpg" noresize="noresize" /> <frameset rows="400,*"> <frame src="1106993.jpg" /> </frameset> </frameset> <noframes> </noframes> </html>