text-decoration

« SVG Attribute reference home

The text-decoration attribute works exactly like the css text decoration property except that it's an attribute. See css text decoration for further information.

Usage context

Categories Presentation attribute
Value none | underline | overline | line-through | blink | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Elements

The following elements can use the text-decoration attribute

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Tags: 
Contributors to this page: connorshea, George8211, Sebastianz, Jeremie
Last updated by: connorshea,