CSS怎么连接网页设置字体,请教高手帮忙

来源:百度知道 编辑:UC知道 时间:2024/05/21 05:39:24
请说的详细一些。。。以前没弄过这些个

<style type="text/css">
body{
font-family: "Microsoft YaHei";//设置字体为"微软雅黑"
font:20px;//设置字号
font-weight:bold;//加粗
text-decoration: underline;//下划线
color:red;//字体颜色
}
</style>

放到html文件的<head></head>中,不用的设置可以直接删除