Interactive online courses HTML Academy
2026-03-09 12:56 Diff

Stroke properties are specified using several attributes, where the stroke color and width are specified separately. The color is assigned using the stroke attribute:

<circle r="60" cx="150" cy="50%" fill="none" stroke="orange"></circle>

or through CSS:

circle { stroke: orange; }

The result will be the same. The shape will have a stroke that is one pixel thick: