字体特定于平台.如果您使用不同的操作系统,那么您将拥有任何网页的不同外观.这里我们给出了各种操作系统可用的字体列表.
HTML< FONT>从版本4.0开始不推荐使用tag,现在所有字体都是使用CSS设置的.以下是设置网页正文字体的简单语法.
body { font-family: "new century schoolbook"; } or <body style="font-family:new century schoolbook;" >
这将产生以下结果 :
microsoft OS和浏览器的字体
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上获得有关microsoft字体的更多信息.
Macintosh系统的字体
以下是Macintosh System 7及更高版本支持的字体列表
字体 | 字体 | 字体 |
---|---|---|
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 |
Tre buchet 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 |
Unix系统的字体
以下是大多数Unix系统变体支持的字体列表
字体 | 字体 | 字体 |
---|---|---|
Charter | Clean | Courier |
Fixed | Helvetica | Lucida |
Lucida bright | Lucida Typewriter | New Century Schoolbook |
Symbol | Terminal | Times |
Utopia |