css字体设置中\5b8b\4f53类似编码的作用:
在css代码中,可能会看到如下代码:
font:12px/1.5 tahoma,arial,\5b8b\4f53
前面的都好理解,后面的\5b8b\4f53就有些令人匪夷所思。
其实它们是用来设置字体类型的,\5b8b\4f53表示"宋体",这是unicode表示法,可以兼容所有的浏览器,如果直接写"宋体"可能在某些浏览器中出现不兼容的现象。下面是常用的unicode表示法的字体列表:
新细明体 \65B0\7EC6\660E\4F53细明体 \7EC6\660E\4F53标楷体 \6807\6977\4F53黑体 \9ED1\4F53宋体 \5B8B\4F53新宋体 \65B0\5B8B\4F53仿宋 \4EFF\5B8B 楷体 \6977\4F53仿宋_GB2312 \4EFF\5B8B_GB2312楷体_GB2312 \6977\4F53_GB2312微软正黑体 \5FAE\x8F6F\6B63\9ED1\4F53微软雅黑 \5FAE\8F6F\96C5\9ED1
原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=15548
更多内容可以参阅:http://www.softwhy.com/divcss/

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

The article discusses the <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

Atom editor mac version download
The most popular open source editor

WebStorm Mac version
Useful JavaScript development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

Notepad++7.3.1
Easy-to-use and free code editor
