常用的字体组合

font-family属性是多种字体的名称,作为一个"应变"制度,以确保浏览器/操作系统之间的最大兼容性。如果浏览器不支持的第一个字体,它尝试下一个的字体。

你想要的字体类型如果浏览器找不到,它会从通用的字体类型中找到与你相似的:

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

在线运行

下面是一些常用的字体组合,通用的字体系列。

Serif 字体

字体 文本示例
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字体

字体 文本示例
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 字体

字体 文本示例
"Courier New", Courier, monospace

This is a heading

This is a paragraph

"Lucida Console", Monaco, monospace

This is a heading

This is a paragraph

原文地址:http://www.manongjc.com/cssref/css_websafe_fonts.html

相关阅读:

完美解决Iframe高度自适应(兼容性好并且支持跨域)

iframe 如何设置高度自适应 - iframe 自适应高度的方法

php wordwrap() 函数对长字符串或链接进行强制折行换行处理

php substr_replace() 将字符串的一部分替换为另一个字符串

php substr_compare从指定的开始位置比较两个字符串

php substr() 从字符串指定位置开始截取指定长度的子字符串

最新文章

  1. FreeMarker模板开发指南知识点梳理
  2. json_decode()和json_encode()的使用方法
  3. 【BZOJ2243】[SDOI2011]染色 树链剖分+线段树
  4. Deferred Shading(延迟渲染)
  5. 检测浏览器对HTML5和CSS3支持情况的利器——Modernizr
  6. TaintDroid:智能手机监控实时隐私信息流跟踪系统(四)
  7. HDU 4010 Query on The Trees(动态树)
  8. 705. New Distinct Substrings spoj(后缀数组求所有不同子串)
  9. [CSS]第一项和最后一项样式
  10. rabbitmq的构架和原理(三)
  11. Android常见漏洞
  12. 网站开发进阶(三)Windows NAT端口映射
  13. Android开发:文本控件详解——EditText(一)基本属性
  14. javaScript之数组操作方法(一)
  15. Grunt jshint Warning: Path must be a string . Received null Use
  16. MATLAB:图像二值化、互补图(反运算)(im2bw,imcomplement函数)
  17. 『TensorFlow Internals』笔记_源码结构
  18. C/S,B/S的应用和区别
  19. 【bug】—— ios scroll 滚动穿透
  20. ngRoute 和 ui.router 的使用方法和区别

热门文章

  1. nw 调用系统命令
  2. Jmeter系列培训(1)--开山篇
  3. how to get keyboard key with non blocking in terminal
  4. 【opencv基础】opencv和dlib库中rectangle类型之间的转换
  5. Unity 3D中 Ulua-UGUI简单的Demo——热更新的具体流程、使用说明
  6. Ubuntu 18.10连接Windows 桌面
  7. 《DSP using MATLAB》Problem 4.10
  8. hdu2088
  9. Restrictions用法
  10. Python类之魔术方法