DW导入式案例

@charset "utf-8";
/* CSS Document */
h2{text-align:center;}
p{	font-size:16px
	font-family:"楷体"
	color:pupre;
	text-decoration:underline;
	text-align:center;	
	}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>导入式</title>
<style type="text/css">
	@import "style01.css";
</style>
</head>
<body>
<h2>要么孤独,要么庸俗。</h2>
<p>通过link标签可以讲扩展名为.css的外部样式表文件连接到HTML文档中。</p>
</body>
</html>

效果图:
DW导入式案例

上一篇:CSS背景


下一篇:圆形导航收缩菜单