卡卡西论坛--CaCaSi.Net's Archiver

卡卡西购物网--CaCaSi.cc

旗木逍 发表于 2007-7-27 15:08

用CSS比较网页制作中中文字体的差别

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]">
<html xmlns="[url=http://www.w3.org/1999/xhtml]http://www.w3.org/1999/xhtml[/url]">
<head>
<meta http-equiv="Content-Type" c />
<style>
#font1{ font-family:SimSun}
#font2{ font-family:monospace}
#font3{ font-family:Verdana}
#font4{ font-family:Arial}
#font5{ font-family:serif}
#font6{ font-family:sans-serif}
</style>
</head>
<body>
<p id="font1">1234567890 aiai;abcdefghijklmn 中文测试 字体:SimSun</p>
<p id="font2">1234567890 aiai;abcdefghijklmn 中文测试 字体:monospace</p>
<p id="font3">1234567890 aiai;abcdefghijklmn 中文测试 字体:Verdana</p>
<p id="font4">1234567890 aiai;abcdefghijklmn 中文测试 字体:Arial</p>
<p id="font5">1234567890 aiai;abcdefghijklmn 中文测试 字体:serif</p>
<p id="font6">1234567890 aiai;abcdefghijklmn 中文测试 字体:sans-serif</p>
</body>
</html>#font1{ font-family:SimSun}
#font2{ font-family:monospace}
#font3{ font-family:Verdana}
#font4{ font-family:Arial}
#font5{ font-family:serif}
#font6{ font-family:sans-serif}

页: [1]
卡卡西未名网--CaCaSi.com

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.