Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The stemv attribute indicates the vertical stem width of the font.

The vertical stem width is the width of vertical (or near-vertical) stems of glyphs. This information is often tied to hinting, and may not be directly accessible in some font formats. The measurement is meant for the dominant vertical stem in the font because there might be different groupings of vertical stems (e.g., one main one, and one lighter weight one as for an uppercase "M" or "N").

If this attribute is used, the units-per-em must also be used.

You can use this attribute with the following SVG elements:

Usage notes

Value <number>
Default value None
Animatable No

This value indicates the vertical stem width of the font.


Scalable Vector Graphics (SVG) 1.1 (Second Edition)
# FontFaceElementStemvAttribute

Browser compatibility

BCD tables only load in the browser

See also