如何使我的字体加粗使用CSS? [英] How to make my font bold using css?

查看:187
本文介绍了如何使我的字体加粗使用CSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对HTML和CSS非常新,我只是想知道如何使用CSS使我的字体加粗。



我有一个纯HTML页面,一个CSS文件,我可以改变CSS中的字体。但是我不知道如何使字体加粗,任何人都可以帮助我?

解决方案

code> font-weight:bold; 。



我建议您阅读CSS初学者指南 http://htmldog.com/guides/cssbeginner/


I'm very new to HTML and CSS and I was just wondering how I could make my font bold using CSS.

I have a plain HTML page that imports a CSS file, and I can change the font in the CSS. But I don't know how to make the font bold, can anyone help me?

解决方案

You can use the CSS declaration font-weight: bold;.

I would advise you to read the CSS beginner guide at http://htmldog.com/guides/cssbeginner/ .

这篇关于如何使我的字体加粗使用CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆