习题一
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>嵌套表格布局页面</title>
<style>
body{font-size:36px;}
</style>
</head>
<body>
<h4 align="center">嵌套表格页面布局</h4>
<table width="660px" border="3" align="center" bordercolor="#000000" bgcolor="#808080">
<tr>
<td height="50">
<img src="img/a.bmp" height="46.5" width="204" align=""/>
</td>
</tr>
<tr>
<td>
<table width="100%" border="1" bordercolor="#000000" bgcolor="#ffffff">
<tr align="center">
<td height="150"></td>
</tr>
</table>
</td>
</tr>
<tr align="center">
<td>
<table width="100%" border="2" cellspacing="50px" bordercolor=“#ff00ff”>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>+</th>
</tr>
<tr>
<th>4</th>
<th>5</th>
<th>6</th>
<th>-</th>
</tr>
<tr>
<th>7</th>
<th>8</th>
<th>9</th>
<th>*</th>
</tr>
<tr>
<th>0</th>
<th>=</th>
<th>CE</th>
<th>/</th>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
习题二
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登录页面</title>
</head>
<body align="center">
<form>
<fieldset>
<legend align="center">登录页面</legend>
用户名:<input type="text" name="YHM"/><br/>
密码:<input type="password" name="MiMa"/><br/>
类型:
<input name="LeiXing" type="radio" checked/>管理员
<input name="LeiXing" type="radio" checked/>普通用户<br/>
记住密码<input name="fuxuan1" type="checkbox" value="A" checked/>
自动登录<input name="fuxuan1" type="checkbox" value="B" checked/><br/>
<input name="tijiao" type="submit" value="提交"/>
<input name="chongzhi" type="reset" value="重置"/>
</body>
</html>