第三章 习题一二

习题一

<!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>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值