Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

markerWidth

« SVG Attribute reference home

The markerWidth represents the width of the viewport into which the <marker> is to be fitted when it is rendered.

A value of zero disables rendering of the element.

If the attribute is not specified, the effect is as if a value of 3 were specified.

Usage context

Categories None
Value <length>
Default value 3
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Examples

Elements

The following elements can use the markerWidth attribute

Document Tags and Contributors

 Contributors to this page: Jeremie
 Last updated by: Jeremie,