Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at


by 1 contributor:

« 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)



The following elements can use the markerWidth attribute

Document Tags and Contributors

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