example2-2.html

来自「CSS&DHML编程」· HTML 代码 · 共 47 行

HTML
47
字号
<html><head>	<title>Stylesheet Example 2</title>	<style type="text/css">			.bigText		{			font-family: arial;			font-weight: bold;			font-style: italic;			font-size: 40pt;			color: red;		}				.green		{			color: green;			font-weight: normal;		}				.weeTiny		{			font-size: 8pt;			font-style: normal;			text-decoration: underline;		}			</style></head><body>Here's some normal text<p><span class="bigText">Monster Text!</span> Next to big text.<p><span class="green">Here's some green text</span><p><span class="weeTiny">Here's some weeTiny text</span><p><span class="bigText">Big Text <span class="green">green inside bigText</span></span><p><span class="green">More green text <span class="weeTiny">weeTiny inside green</span></span></body></html>

⌨️ 快捷键说明

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