Path: blob/main/files/en-us/web/svg/attribute/ascent/index.md
6565 views
------{{SVGRef}}{{deprecated_header}}
The ascent attribute defines the maximum unaccented height of the font within the font coordinate system.
If the attribute is not specified, the effect is as if the attribute were set to the difference between the {{SVGAttr("units-per-em")}} value and the {{SVGAttr("vert-origin-y")}} value for the corresponding font.
You can use this attribute with the following SVG elements:
{{SVGElement("font-face")}}
font-face
For {{SVGElement("font-face")}}, ascent defines the maximum unaccented height of the font within the font coordinate system.
| Value | <number> |
|---|---|
| Default value | Difference between {{SVGAttr("units-per-em")}} and {{SVGAttr("vert-origin-y")}} |
| Animatable | No |
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}