Menu Home

style

osbo.com | SVG | Elements | style

The style SVG element specifies style sheets to be embedded directly within SVG content.

Syntax

Attributes

media

Specifies a media query that must be matched for the style sheet to apply.

Value
<string>
Default
all

title

Specifies a title for the style sheet, which is used when exposing and selecting between alternate style sheets.

Value
<string>
Default
(none)

type

Specifies the style sheet language.

Value
<string>
Default
text/css

Examples

media

<string>

title

<string>

type

<string>

World Wide Web Consortium (W3C)