The font
element defines a font to be used for text layout.
Usage context
Categories | Font element |
---|---|
Permitted content | Any number of the following elements, in any order: Descriptive elements <font-face> , <glyph> , <hkern> , <missing-glyph> , <vkern> |
Example
Attributes
Global attributes
Specific attributes
DOM Interface
This element implements the SVGFontElement
interface.
Specifications
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of '<font>' in that specification. |
Recommendation | Initial definition |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
[1] See bug 119490
The chart is based on these sources.