查看“︁HTML/Font”︁的源代码
来自康健生活
←
HTML/Font
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== 引言 == 字体是字形的集合,且每个字形是一个描述了一个字母亦或符号的矢量图。字体文件的大小由两个因素决定: * 字形矢量路径的复杂程度; * 字体所包含的字形数量。 暂时没有一种字体可以同时兼容新旧浏览器。 == 字体格式 == === [https://www.w3.org/TR/WOFF2/ WOFF2] === {| class="wikitable" |- | IE 浏览器 || || |- | 其他浏览器 || || |} === WOFF === {| class="wikitable" |- | IE 浏览器 || 旧的浏览器不支持 || |- | 其他浏览器 || 旧的浏览器不支持 || |} === EOT === {| class="wikitable" |- | IE 浏览器 || 支持 || IE (版本<9)使用 EOT 变体 |- | 其他浏览器 || 不支持 || |} === TTF === {| class="wikitable" |- | IE 浏览器 || 部分支持 || |- | 其他浏览器 || || |- | 安卓 || 支持 || 安卓(版本<4.4)使用 TTF 变体 |} == 字体压缩 == == 衬线字体 == Times New Roman (<span style="font-family:Georgia,serif;">Times New Roman</span>) == 示例 == {| class="wikitable" |+ Serif |- | Georgia,serif || <p style="font-family:Georgia,serif;">This is a heading<br>This is a paragraph</p> |- | 'Palatino Linotype','Book Antiqua',Palatino,serif || <p style="font-family:'Palatino Linotype','Book Antiqua',Palatino,serif;">This is a heading<br>This is a paragraph</p> |- | 'Times New Roman',Times,serif || <p style="font-family:'Times New Roman',Times,serif;">This is a heading<br>This is a paragraph</p> |} {| class="wikitable" |+ sans-serif |- | Arial,Helvetica,sans-serif || <p style="font-family:Arial,Helvetica,sans-serif;">This is a heading<br>This is a paragraph</p> |- | Arial Black,Gadget,sans-serif || <p style="font-family:Arial Black,Gadget,sans-serif;">This is a heading<br>This is a paragraph</p> |- | 'Comic Sans MS',cursive,sans-serif || <p style="font-family:'Comic Sans MS',cursive,sans-serif;">This is a heading<br>This is a paragraph</p> |- | Impact,Charcoal,sans-serif || <p style="font-family:Impact,Charcoal,sans-serif;">This is a heading<br>This is a paragraph</p> |- | 'Lucida Sans Unicode','Lucida Grande',sans-serif || <p style="font-family:'Lucida Sans Unicode','Lucida Grande',sans-serif;">This is a heading<br>This is a paragraph</p> |- | Tahoma,Geneva,sans-serif || <p style="font-family:Tahoma,Geneva,sans-serif;">This is a heading<br>This is a paragraph</p> |- | 'Trebuchet MS',Helvetica,sans-serif || <p style="font-family:'Trebuchet MS',Helvetica,sans-serif;">This is a heading<br>This is a paragraph</p> |- | Verdana,Geneva,sans-serif || <p style="font-family:Verdana,Geneva,sans-serif;">This is a heading<br>This is a paragraph</p> |} {| class="wikitable" |+ Monospace |- | 'Courier New',Courier,monospace || <p style="font-family:'Courier New',Courier,monospace;">This is a heading<br>This is a paragraph</p> |- | 'Lucida Console',Monaco,monospace || <p style="font-family:'Lucida Console',Monaco,monospace;">This is a heading<br>This is a paragraph</p> |}
返回
HTML/Font
。
导航菜单
康健生活
搜索
user-page
通知
user-interface-preferences
个人工具
登录
五一
多读书,多运动,多到远处走走,再看看不一样的世界。