HTML Basic
HTML font change setting face
The syntax used by HTML to set the text font is face, which is similar to the font-family in CSS. The font set through HTML face here must be the font of the user’s browser before it can be displayed normally. At that time, it is better to use some common fonts as much as possible. The following examples are for your reference.
HTML face common font table
| Font description | Rendering effect |
| <font face="serif">serif font</font> | serif font |
| <font face="sans-serif">sans-serif font</font> | sans-serif font |
| <font face="cursive">cursive 字型</font> | cursive font |
| <font face="fantasy">fantasy font</font> | fantasy font |
| <font face="monospace">monospace 字型</font> | monospace font |
| <font face="Microsoft regular bold font">Microsoft regular bold font</font> | Microsoft positive bold font |
| <font face="标楷体">Biao Kai font type</font> | Standard italics font |
| <font face="XinXinMingFont">NewXinMingFont</font> | New detailed font |
Post a Comment
0 Comments