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

DOM 接口

这个元素实现了 SVGFontFaceElement 接口。

参见