<!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" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Document</title>
<style type="text/css">
body{text-align:center;}
/* 类属性选择器 */
span{
font:100px "微软雅黑";
}
.g{
color:blue;
}
.oe{color:red;
}
.o{color:orange;}
.oo{color:green;}
</style>
</head>
<body>
<span class="g">G</span>
<span class="oe">o</span>
<span class="o">o</span>
<span class="oo">g</span>
<span class="g">l</span>
<span class="oe">e</span>
</body>
</html>
/* 设置字号,设置英文或者Unicode 编码 */