Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на 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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung 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

Метки документа и участники

Внесли вклад в эту страницу: HTMLValidator, fscholz, Sebastianz, iwarui, kscarfone, Jeremie, Manuel_Strehl
Обновлялась последний раз: HTMLValidator,