font-face
font-face 元素相当于 (corresponds to) CSS 的 @font-face 规则声明,font-face 元素定义了一个字体的外部属性 (a font's outer properties)。
使用上下文
| 类别 | 字体元素 |
|---|---|
| 允许的内容 | Any number of descriptive elements » and at most one <font-face> element, in any order. |
例子
属性 Attributes
全局属性 Global attributes
特定属性 Specific attributes
font-familyfont-style (en-US)font-variant (en-US)font-weight (en-US)font-stretch (en-US)font-size (en-US)unicode-range (en-US)units-per-empanose-1 (en-US)stemv (en-US)stemh (en-US)slope (en-US)cap-height (en-US)x-height (en-US)accent-heightascent (en-US)descent (en-US)widths (en-US)bbox (en-US)ideographic (en-US)alphabetic (en-US)mathematical (en-US)hanging (en-US)v-ideographic (en-US)v-alphabetic (en-US)v-mathematical (en-US)v-hanging (en-US)underline-position (en-US)underline-thickness (en-US)strikethrough-position (en-US)strikethrough-thickness (en-US)overline-position (en-US)overline-thickness (en-US)
DOM 接口
这个元素实现了 SVGFontFaceElement 接口。