css字体样式设置

2025-04-11 01:21:26

1、新建文件创建p标签,设置字体加粗

css字体样式设置

2、如图所示

css字体样式设置

3、设置字体大小

css字体样式设置

4、如图所示

css字体样式设置

5、设置使用什么字体

css字体样式设置

6、如图所示

css字体样式设置

7、设置斜体

css字体样式设置

8、如图所示

css字体样式设置

9、设置下划线

css字体样式设置

10、如图所示

css字体样式设置

11、附上代码<body><style>p{line-height:40px;}.p1{font-weight:bold稆糨孝汶;}.p2{font-size:36px;}.p3{ font-family:"微软雅黑"}.p4{font-style:italic;}.p5{text-decoration:underline;}</style><p class="p1">你好</p><p class="p2">你好</p><p class="p3">你好</p><p class="p4">你好</p><p class="p5">你好</p><p>你好</p></body>

css字体样式设置
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢