您现在的位置: 365建站网 > 365教程 > css教程 > CSS 网络安全字体组合

CSS 网络安全字体组合

此节有 97 人学习过     参与评论

常用的字体组合

font-family 属性应该使用若干种字体名称作为回退系统,以确保浏览器/操作系统之间的最大兼容性。如果浏览器不支持第一个字体,则会尝试下一个。

请以您喜欢的字体开始,并以通用字体系列结束,以便使浏览器在通用系统中挑选相似的字体,如果没有其他字体可用的话:

实例

p{font-family:'Times New Roman', Times, serif}

亲自试一试

下面是最常用的字体组合,根据通用系统进行汇总:

Serif 字体

font-family 示例文本
Georgia, serif

This is a heading

This is a paragraph

'Palatino Linotype', 'Book Antiqua', Palatino, serif

This is a heading

This is a paragraph

'Times New Roman', Times, serif

This is a heading

This is a paragraph

Sans-Serif 字体

font-family 示例文本
Arial, Helvetica, sans-serif

This is a heading

This is a paragraph

'Arial Black', Gadget, sans-serif

This is a heading

This is a paragraph

'Comic Sans MS', cursive, sans-serif

This is a heading

This is a paragraph

Impact, Charcoal, sans-serif

This is a heading

This is a paragraph

'Lucida Sans Unicode', 'Lucida Grande', sans-serif

This is a heading

This is a paragraph

Tahoma, Geneva, sans-serif

This is a heading

This is a paragraph

'Trebuchet MS', Helvetica, sans-serif

This is a heading

This is a paragraph

Verdana, Geneva, sans-serif

This is a heading

This is a paragraph

Monospace 字体

font-family 示例文本
'Courier New', Courier, monospace

This is a heading

This is a paragraph

'Lucida Console', Monaco, monospace

This is a heading

This is a paragraph

如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛


发表评论 (97人查看0条评论)
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码: 点击我更换图片
最新评论
------分隔线----------------------------
css教程目录