第三章 习题 计算机和登录页面

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>计算机布局</title>
		<style>
			td{
				font-size: 30px;
				width: 25%;
			}
			table{
				width: 660px;
				margin: 10 auto;
			}

		</style>

	</head>
	<body>
		<table width="660px" border="1" align="center" bordercolor="#000000" bgcolor="#4f4f4f">
			<tr>
				<td>
				<img src="img/ST1.bmp" id="id1"/>
				</td>
			</tr>
			<table width="660px" border="2" align="center" bordercolor="#000000">
			<tr>
				<td>
				<br />
				<br />
				<br />

				</td>
			</tr>
			</table>
		</table>
		<table width="660px" height="260px" border="1" align="center" 
		cellspacing="50px" cellpadding="20px" bordercolor="#000000" bgcolor="#4f4f4f">
					<tr align="center">	
						<td>1</td>
						<td>2</td>
						<td>3</td>
						<td>+</td>
					</tr>

					<tr align="center">	
						<td>4</td>
						<td>5</td>
						<td>6</td>
						<td>-</td>
					</tr>
					<tr align="center">	
						<td>7</td>
						<td>8</td>
						<td>9</td>
						<td>*</td>
					</tr>
					
					<tr align="center">
						<td>0</td>
						<td>=</td>
						<td>CE</td>
						<td>/</td>
					</tr>
		</table>
	</body>
</html>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登录界面 表单版</title>
		<style>
			form{
				width: 300px;
				margin: 20px auto;
			}
			fieldset{
				align:center;
			}
		</style>
	</head>
	<body>
		<form>
			<fieldset width="500px" height="200px" margin="20p" align="center">
				<legend align="center">登录界面</legend>
				<table width="300" align="center" border="0">
					<tr>
					<td width="150" align="right">用户名:</td>
					<td><input type="text" name="name" size="20" required/></td>
					</tr>
					<tr>
						<td width="150" align="right">密码:</td>
						<td><input type="password" name="password" size="20" required/></td>
					</tr>
				</table>
				类  型: <input type="radio" name="radio" size="20"/>管理员
					    <input type="radio" name="radio1" size="20"/>普通用户&nbsp;<br />
				<input type="checkbox" name="checkbox" size="20"/>记住密码
				<input type="checkbox" name="checkbox1" size="20"/>自动登录<br />
				<input type="submit" name="button" size="20" value="提交"/>
				<input type="reset" name="button1" size="20" value="重置"/>
			</fieldset>
		</form>
	
	</body>
</html>

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值