The marker-start attribute draws a polymarker or arrowhead at the start vertex of the given shaped markable element. Except polyline and path, the first vertex is the same as the last vertex for all the markable elements. In this case, if the value of both marker-start and marker-end are not “none”, then both markers will be rendered on the last vertex. The marker-start property is rendered only on the start vertex of the path data. The marker-mid property has its effect only on the following seven elements: path, polyline, polygon, line, circle, ellipse, and rect.
marker-start = "marker-reference | none"
Property values: This attribute accepts two values as mentioned above and described below.
- marker-reference: It draws a marker at the start vertex of elements.
- none: It does not add any marker at the start vertex of element.
Example 1: Below is the code which illustrates the use of marker-start property with the value “none.“
Example 2: Below is the code which illustrates the use of marker-start property with the value of marker-reference.