CSS font-family Microsoft Jhenghei of use, is the Microsoft Jhenghei font code Microsoft JhengHei write CSS 's font-family font list, or you can directly use the Traditional Chinese Microsoft Jhenghei as the font-family Parameters, most mainstream browsers now also support such Chinese parameter values. CSS font-family Microsoft's regular bold font can be applied to the < body > tag of the entire webpage or other webpage elements, such as DIV block, span area, input text , textarea ... etc.
CSS font-family Microsoft regular bold grammarfont-family: Microsoft JhengHei;
As mentioned in the first paragraph, the parameter of font-family can be written in the font code of Microsoft JhengHei, or "font-family: Microsoft JhengHei;", but it is recommended to use more Find a few browsers to test whether the effect is displayed correctly. In addition, Microsoft's regular font is the standard font of the Windows operating system. Other operating systems may not be installed, so the font may not be displayed when the font is displayed. It is recommended to use a few more common fonts. Font, please refer to the following font-family parameter value writing instruction.We will apply the font-family Microsoft positive font to several different web page elements, as shown in the example.CSS font-family Microsoft positive bold font example<div style="font-family:Microsoft JhengHei;">DIV uses Microsoft normal bold font</div>
<div style="font-family: Microsoft normal bold;">DIV uses Microsoft normal bold font</div >
<span style="font-family:Microsoft JhengHei;">span uses Microsoft normal bold font</span><br>
<a href="#" style="font-family:Microsoft JhengHei;">Hyperlink Use Microsoft's regular bold text</a>
Output resultDIV uses Microsoft's bold font
DIV uses Microsoft's bold font
span text in Microsoft regular bold font Hyperlinks in textin Microsoft regular bold font
There are three web elements in the example: DIV block, span area, and hyperlink text font, all of which apply the effect of font-family Microsoft font. If your operating system does not have Microsoft font font, the effect may not be displayed. Should we use Microsoft's positive bold font as the standard font for web pages? There are many discussions on this issue among web designers, but the most important thing is to see who the audience of the designed web page is, that is, whether the target group will use the Windows operating system? If you are not sure, use a few more common fonts in font-family ! After all, too many people now use operating systems or mobile devices such as iOS and Android.
Post a Comment
0 Comments