Export (0) Print
Expand All
a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

type attribute | type property

Gets the style sheet language of the style element's contents.

Scalable Vector Graphics: Styling, Section 6.18.1Internet Explorer 9

Syntax

HTML
<element type="p" ... >
JavaScript
p = object.type

Property values

Type: Number

A style sheet language.

Standards information

Remarks

The type property specifies the style sheet language of the style element's contents. The style sheet language is specified as a content type (for example, "text/css").

If you do not provide a type, the value of contentStyleType on the svg element is used, which defaults to "text/css". If a style element falls outside of the outermost svg element and you do not provide the type, the value of contentStyleType on the type element defaults to "text/css".

See also

SVGStyleElement

 

 

Show:
© 2014 Microsoft