Os nossos voluntários ainda não traduziram este artigo para Português (Europeu). Junte-se a nós e ajude-nos a fazer o trabalho!
Pode também ler o artigo em English (US).

Deprecated
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. 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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic support
Deprecated
Chrome No support 38 — 51
Notes
No support 38 — 51
Notes
Notes Only on Windows Vista and XP.
No support 4 — 38
Edge No support NoFirefox No support NoIE No support NoOpera No support 25 — 37
Notes
No support 25 — 37
Notes
Notes Only on Windows Vista and XP.
No support 10.1 — 25
Safari Full support 3.2WebView Android No support 3 — 62Chrome Android No support 18 — 38Edge Mobile No support NoFirefox Android No support NoOpera Android No support 10.1 — 25Safari iOS Full support 3.2Samsung Internet Android ?
horiz-origin-x
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
horiz-origin-y
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
horiz-adv-x
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
vert-origin-x
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
vert-origin-y
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
vert-adv-y
Deprecated
Chrome ? Edge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.

See also

Etiquetas do documento e contribuidores

Contribuidores para esta página: HTMLValidator, fscholz, Sebastianz, iwarui, kscarfone, Jeremie, Manuel_Strehl
Última atualização por: HTMLValidator,