search
HomeWeb Front-endHTML TutorialCommonly used CSS Chinese font Unicode encoding table_html/css_WEB-ITnose

Why should you set the font in CSS and use font Unicode encoding?

It is possible to set the font name in CSS and write Chinese directly. However, garbled errors will occur when the file encoding (GB2312, UTF-8, etc.) does not match. For this reason, writing font names directly in CSS using Unicode encoding can avoid these errors. Use Unicode to write Chinese font names, and the browser can parse them correctly. For example: font-family: "5FAE8F6F96C59ED1" means setting the font to "Microsoft Yahei".

Unicode encoding Chinese font conversion table

Chinese name English name Unicode Unicode 2 Mac OS 680769774F5382F9679C4E3D4E2D9ED182F9679C4E3D7EC65B8B Windows PMingLiU65B07EC6660E4F537EC6660E4F53680769774F539ED14F535B8B4F5365B05B8B4F53 4EFF5B8B69774F53_GB23125FAEx8F6F6B639ED14F535FAE8F6F96C59ED1 Office LiSuYouYuanSTXihei534E65877EC69ED1534E658769774F53534E65875B8B4F53534E65874E2D5B8B534E65874EFF5B8B65B96B6382124F5365B96B6359DA4F53
Chinese Fine Black STHeiti Light [STXihei] 534E65877EC69ED1 华文细黑
Chinese bold STHeiti 534E65879ED14F53 华文黑体
Chinese regular script STKaiti 534E658769774F53 华文楷体
Chinese Songti STSong 534E65875B8B4F53 华文宋体
Chinese imitation of Song Dynasty STFangsong 534E65874EFF5B8B 华文仿宋
丽黑Pro LiHei Pro Medium 4E3D9ED1 Pro 丽黑 Pro
LiHei Pro LiSong Pro Light 4E3D5B8B Pro 丽宋 BiauKai
标楷体 Apple LiGothic Apple LiGothic Medium
苹果丽中黑 Apple Bloom Apple LiSung Light
苹果丽细宋 New detailed body
新细明体 ; Xingming MingLiU
细明体 Marked italics DFKai-SB
标楷体 Helvetica SimHei
黑体 Arial SimSun
宋体 新宋体 NSimSun
新宋体 FangSong FangSong
x6977; 312 楷体_GB2312 KaiTi_GB2312
楷体_GB2312 Microsoft Blackbody Microsoft JhengHei
Microsoft YaHei Microsoft YaHei
微软雅 x9ED1; official script
96B64E66 隶书 Youyuan
5E7C5706 幼圆 Chinese Fine Black
华文细黑 Chinese regular script STKaiti
华文楷体 Chinese Song Dynasty STSong
华文宋体 中文中文 STZhongsong
华文中宋 Chinese Imitation Song STFangsong
华文仿宋 Founder ShuTi FZShuTi
方正舒体 Founder Yaoti FZYaoti
方正姚体
华文彩云 STCaiyun 534E65875F694E91 华文彩云
Chinese Amber STHupo 534E6587742573C0 华文琥珀
Chinese official script STLiti 534E658796B64E66 华文隶书
Chinese regular script STXingkai 534E6587884C6977 华文行楷
华文新伟 STXinwei 534E658765B09B4F 华文新魏

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How do you set the lang attribute on the  tag? Why is this important?How do you set the lang attribute on the tag? Why is this important?May 08, 2025 am 12:03 AM

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

What is the purpose of HTML attributes?What is the purpose of HTML attributes?May 07, 2025 am 12:01 AM

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

How do you create a list in HTML?How do you create a list in HTML?May 06, 2025 am 12:01 AM

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML in Action: Examples of Website StructureHTML in Action: Examples of Website StructureMay 05, 2025 am 12:03 AM

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

How do you insert an image into an HTML page?How do you insert an image into an HTML page?May 04, 2025 am 12:02 AM

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

HTML's Purpose: Enabling Web Browsers to Display ContentHTML's Purpose: Enabling Web Browsers to Display ContentMay 03, 2025 am 12:03 AM

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

Why are HTML tags important for web development?Why are HTML tags important for web development?May 02, 2025 am 12:03 AM

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.

Explain the importance of using consistent coding style for HTML tags and attributes.Explain the importance of using consistent coding style for HTML tags and attributes.May 01, 2025 am 12:01 AM

A consistent HTML encoding style is important because it improves the readability, maintainability and efficiency of the code. 1) Use lowercase tags and attributes, 2) Keep consistent indentation, 3) Select and stick to single or double quotes, 4) Avoid mixing different styles in projects, 5) Use automation tools such as Prettier or ESLint to ensure consistency in styles.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.