<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/ html4/strict.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><title>CSS字体属性</title></head><body><p style="font-family: FangSong;font-size: 20px;"><span style="font-family:SimHei;font-size: xx-large;">从前有一座山,</span><span style="font-family: LiSu,KaiTi;font-size: 20%;">山里有一个庙,</span>庙里有一个老和尚,给小和尚讲故事。故事讲的是:<br /><span style="font-size: smaller;">从前有一座山,</span><span style="font-style: oblique;">山里有一个庙,</span><span style="font-style: italic;">庙里有一个老和尚,</span>...<br /><span>abcdefg ABCDEFG</span><br /><span style="font-variant: small-caps;">abcdefg ABCDEFG</span> <br /><span>故事讲完了,谢谢欣赏!</span><br /><span style="font-weight: 200;">故事讲完了,谢谢欣赏!</span><br /><span style="font-weight: bold;">故事讲完了,谢谢欣赏!</span><br /><span style="font:italic 40px blod SimHei;">请问,国王陛下,对我的故事还满意否?</span></p></body>
</html>
运行结果