Get the App
SLTechnology News&Howtos  ›  Development  › 

How to set the default font of full-page DIV

Shulou Source: shulou.com Published: 2022-06-01 07:43:17 10月01日 Update

This article mainly introduces the full page DIV default font how to set the relevant knowledge, the content is detailed and easy to understand, simple and fast operation, has a certain reference value, I believe that everyone after reading this full page DIV default font setting article will have a harvest, let's take a look at it.

If you configure common Chinese character fonts, you need to convert Chinese characters or apply English corresponding Chinese character fonts to be compatible with major readers, so that the fonts configured by CSS are compatible with local hunters.

Default font configuration for full-page DIV

Div sets the CSS word for the font:

Font-family

Usage:

Div {font-family: "boldface", Arial, Helvetica, sans-serif}

The above settings are all div boldface in Chinese and Arial, Helvetica and sans-serif in English.

This is the end of the article on "how to set the default font for full-page DIV". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to set the default font of DIV on the full page". If you want to learn more, you are welcome to follow the industry information channel.

Tags: Font web page knowledge Chinese character configuration content article boldface Chinese English value all words such common decoration easy to operate article easy to understand more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Technology MariaDB Xiaomi macOS