font
<font>
SVG元素定义将被用于文本布局的字体。
用法上下文
分类 | 字体元素 |
---|---|
允许的内容 | 以任何顺序包含任意数量的以下元素:描述性元素<font-face>,<glyph>,<hkern>,<missing-glyph>,<vkern> |
属性
全局属性
- Core attributes
- Presentation attributes
class
style
externalResourcesRequired
具体属性
DOM接口
这个元素实现了SVGFontElement
接口。
产品规格
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<font>' in that specification. | Recommendation | Initial definition |
浏览器兼容性
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | No support1 | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | No support1 | ? | ? | ? |
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com