Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The <font> SVG element defines a font to be used for text layout.

Usage context

CategoriesFont element
Permitted contentAny number of the following elements, in any order:
Descriptive elements
<font-face>, <glyph>, <hkern>, <missing-glyph>, <vkern>

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

38 — 511

4 — 38

No No No

25 — 371

10.1 — 25

3.2
horiz-origin-x ? No No No ? ?
horiz-origin-y ? No No No ? ?
horiz-adv-x ? No No No ? ?
vert-origin-x ? No No No ? ?
vert-origin-y ? No No No ? ?
vert-adv-y ? No No No ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support3 — 624 — 38 No No10.1 — 253.2 ?
horiz-origin-x ? ? No No ? ? ?
horiz-origin-y ? ? No No ? ? ?
horiz-adv-x ? ? No No ? ? ?
vert-origin-x ? ? No No ? ? ?
vert-origin-y ? ? No No ? ? ?
vert-adv-y ? ? No No ? ? ?

1. Only on Windows Vista and XP.

See also

Étiquettes et contributeurs liés au document

Contributeurs à cette page : HTMLValidator, fscholz, Sebastianz, iwarui, kscarfone, Jeremie, Manuel_Strehl
Dernière mise à jour par : HTMLValidator,