Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set fonts in DIV by CSS

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, I would like to share with you how to set fonts in CSS DIV related knowledge points, detailed content, clear logic, I believe that most people still know too much about this knowledge, so share this article for your reference, I hope you have something to gain after reading this article, let's take a look at it.

1. Font tag configuration font I was set up to be equipped with Microsoft Yahei

Font tag face setting equipment layout font pattern

Font tag setting equipment equipment face font property its value can set different fonts

2. Css font setting techniques

Css font fancy word is font-family

CSS5 {font-family: "Microsoft Yahei"} the font is Microsoft Yahei for the equipment set by the CSS5 pattern selector.

Screenshot of css setting equipment font

Third, Chinese calligraphy is often used

Commonly used Chinese ink:

1. Blackbody

2. Song style

3. Microsoft Yahei

Please do not add your own computer installation fonts, otherwise it will become effective because the client computer does not have your configuration fonts installed.

4. The importance of Chinese calligraphy to unicode coding of Chinese fonts

In order to prevent browsers such as IE9 from directly setting the compatibility of Chinese characters in Chinese characters, ie9 Chinese character fonts constitute line-height. It is recommended to convert the Chinese characters set to unicde. After transcoding, the communication of configuring font attainments will not be affected, and will be compatible with the problem that some browsers do not support Chinese characters.

These are all the contents of the article "how to set fonts in CSS DIV". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report