2.html

来自「《CSS完全使用详解》 源文件下载 书籍源码」· HTML 代码 · 共 53 行

HTML
53
字号
<html>
<head>
	<title>HTML示例</title>
</head>

<body>
	<table bgColor="gray" border="5" cellPadding="5" cellSpacing="5">
				<tr>
					<td align="center" style="background: activeborder;">activeborder</td>
					<td align="center" style="background: activecaption; color: captiontext;">activecaption</td>
					<td align="center" style="background: appworkspace;">appworkspace</td>
					<td align="center" style="background: background;">background</td>
				</tr>
				<tr>
					<td align="center" style="background: buttonface; color: buttontext;">buttonface</td>
					<td align="center" style="background: buttonhighlight;">buttonhighlight</td>
					<td align="center" style="background: buttonshadow;">buttonshadow</td>
					<td align="center" style="background: buttontext; color: buttonface;">buttontext</td>
				</tr>
				<tr>
					<td align="center" style="background: captiontext; color: activecaption;">captiontext</td>
					<td align="center" style="background: graytext;">graytext</td>
					<td align="center" style="background: highlight; color: highlighttext;">highlight</td>
					<td align="center" style="background: highlighttext; color: highlight;">highlighttext</td>
				</tr>
				<tr>
					<td align="center" style="BACKGROUND: inactiveborder;">inactiveborder</td>
					<td align="center" style="background: inactivecaption; color: inactivecaptiontext;">inactivecaption</td>
					<td align="center" style="background: inactivecaptiontext; color: inactivecaption;">inactivecaptiontext</td>
					<td align="center" style="background: infobackground; color: infotext;">infobackground</td>
				</tr>
				<tr>
					<td align="center" style="background: infotext; color: infobackground;">infotext</td>
					<td align="center" style="background: menu; color: menutext;">menu</td>
					<td align="center" style="background: menutext; color: menu;">menutext</td>
					<td align="center" style="background: scrollbar;">scrollbar</td>
				</tr>
				<tr>
					<td align="center" style="background: threeddarkshadow; color: threedlightshadow;">threeddarkshadow</td>
					<td align="center" style="background: buttonface;">threedface</td>
					<td align="center" style="background: buttonhighlight;">threedhighlight</td>
					<td align="center" style="background: threedlightshadow; color: threeddarkshadow;">threedlightshadow</td>
				</tr>
				<tr>
					<td align="center" style="background: buttonshadow;">threedshadow</td>
					<td align="center" style="background: window; color: windowtext;">window</td>
					<td align="center" style="background: windowframe; color: window;">windowframe</td>
					<td align="center" style="background: windowtext; color: window;">windowtext</td>
				</tr>
			</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?