HTML5 字体参考
字体是特定于平台的。如果我们使用不同的系统,那么对于任何 Web 页面都会得到不同的外观和感受。
从 4.0 开始 HTML <FONT> 标签就已经被弃用了,现在所有的字体都使用 CSS 设置。这里有一个给网页主题设置字体的简单语法:
body { font-family: "new century schoolbook"; }
或者
<body style="font-family:new century schoolbook;" >
方便起见,可以进行在线练习。
微软 Windows 系统和浏览器字体
| Font | Font | Font |
|---|---|---|
| Andale Mono | Arial | Arial Bold |
| Arial Italic | Arial Bold Italic | Arial Black |
| Comic Sans MS | Comic Sans MS Bold | Courier New |
| Courier New Bold | Courier New Italic | Courier New Bold Italic |
| Georgia | Georgia Bold | Georgia Italic |
| Georgia Bold Italic | Impact | Lucida Console |
| Lucida Sans Unicode | Marlett | Minion Web |
| Symbol | Times New Roman | Times New Roman Bold |
| Times New Roman Italic | Times New Roman Bold Italic | Tahoma |
| Trebuchet MS | Trebuchet MS Bold | Trebuchet MS Italic |
| Trebuchet MS Bold Italic | Verdana | Verdana Bold |
| Verdana Italic | Verdana Bold Italic | Webdings |
在 http://www.microsoft.com/typography/fonts 上可以找到更多关于微软字体的信息。
可以在 微软字体示例 页面查看示例字体。
Mac 系统字体
下面列出了 Max OS 7 以及更高版本支持的字体。
| Font | Font | Font |
|---|---|---|
| American Typewriter | Andale Mono | Apple Chancery |
| Arial | Arial Black | Brush Script |
| Baskerville | Big Caslon | Comic Sans MS |
| Copperplate | Courier New | Gill Sans |
| Futura | Herculanum | Impact |
| Lucida Grande | Marker Felt | Optima |
| Trebuchet MS | Verdana | Webdings |
| Palatino | Symbol | Times |
| Osaka | Papyrus | Times New Roman |
| Textile | Zapf Dingbats | Zapfino |
| Techno | Hoefler Text | Skia |
| Hoefler Text Ornaments | Capitals | Charcoal |
| Gadget | Sand |
可以在 Mac 字体示例 页面查看示例字体。
Unix 系统字体
下面列出了大多数 Unix 系统变体支持的字体。
| Font | Font | Font |
|---|---|---|
| Charter | Clean | Courier |
| Fixed | Helvetica | Lucida |
| Lucida bright | Lucida Typewriter | New Century Schoolbook |
| Symbol | Terminal | Times |
| Utopia |
可以在 Unix 字体示例 页查看示例字体。
上一篇: HTML5 颜色名称
下一篇: HTML5 URL 编码