字體是特定于平臺的。如果我們使用不同的系統(tǒng),那么對于任何 Web 頁面都會得到不同的外觀和感受。
從 4.0 開始 HTML <FONT> 標簽就已經(jīng)被棄用了,現(xiàn)在所有的字體都使用 CSS 設置。這里有一個給網(wǎng)頁主題設置字體的簡單語法:
body { font-family: "new century schoolbook"; }
或者
<body style="font-family:new century schoolbook;" >
方便起見,可以進行在線練習。
| 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 上可以找到更多關于微軟字體的信息。
可以在 微軟字體示例 頁面查看示例字體。
下面列出了 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 字體示例 頁面查看示例字體。
下面列出了大多數(shù) Unix 系統(tǒng)變體支持的字體。
| Font | Font | Font |
|---|---|---|
| Charter | Clean | Courier |
| Fixed | Helvetica | Lucida |
| Lucida bright | Lucida Typewriter | New Century Schoolbook |
| Symbol | Terminal | Times |
| Utopia | ? | ? |
可以在 Unix 字體示例 頁查看示例字體。