1. 程式人生 > >HTML學習:計算機-表格版

HTML學習:計算機-表格版

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>計算器-表格版</title>
	</head>
	<body>
		<table  width="35%" align="center" bgcolor="dimgray" height="90px" cellspacing="0">
			<tr >
				<td>
					&nbsp;&nbsp;&nbsp;&nbsp;<font color="red" size=" 6">●</font>
					<font color="yellow" size=" 6">●</font>
					<font color="blue" size=" 6">●</font>
				</td>
			</tr>			
			<tr>
				<td height="50px" >
					<table border="1"width="99%" height="99%" align="center" bordercolor="red" cellspacing="0">
						<tr>
							<td bgcolor="white"></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table   width="35%" align="center" bgcolor="dimgray" cellspacing="5" height="450px">
			<tr bgcolor="deepskyblue" align="center">
				<td width="25%"><font  size="6">AC</font></td>
				<td width="25%"><font  size="6">+/-</font></td>
				<td width="25%"><font  size="6">%</font></td>
				<td><font  size="6">&divide;</font></td>
			</tr>
			<tr bgcolor="deepskyblue" align="center">
				<td><font  size=" 6">7</font></td>
				<td><font  size=" 6">8</font></td>
				<td><font  size=" 6">9</font></td>
				<td><font  size=" 6">&times;</font></td>
			</tr>
			<tr bgcolor="deepskyblue" align="center">
				<td ><font  size=" 6">4</font></td>
				<td><font  size=" 6">5</font></td>
				<td><font  size=" 6"> 6</font></td>
				<td><font  size=" 6">-</font></td>
			</tr>
			<tr bgcolor="deepskyblue" align="center">
				<td ><font  size=" 6">1</font></td>
				<td><font  size=" 6">2</font></td>
				<td><font  size=" 6">3</font></td>
				<td><font  size=" 6">+</font></td>
			</tr>
			<tr bgcolor="deepskyblue" align="center">
				<td ><font  size=" 6">0</font></td>
				<td><font  size=" 6">&lt;-</font></td>
				<td><font  size=" 6">.</font></td>
				<td><font  size=" 6">=</font></td>
			</tr>
		</table>
	</body>
</html>