Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/svg/attribute/cap-height/index.md
6552 views
---
title: cap-height slug: Web/SVG/Attribute/cap-height page-type: svg-attribute tags: - Deprecated - SVG - SVG Attribute browser-compat: svg.elements.font-face.cap-height
---

{{SVGRef}}{{Deprecated_Header}}

The cap-height attribute defines the height of uppercase glyphs of the font within the font coordinate system.

Note: It was specified to share the syntax and semantics of the obsolete cap-height descriptor of the {{cssxref("@font-face")}} at-rule defined in an early version of CSS 2.

You can use this attribute with the following SVG elements:

  • {{SVGElement("font-face")}}

Usage notes

Value {{cssxref("number")}}
Default value None
Animatable No

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{SVGAttr("x-height")}}

  • {{SVGAttr("accent-height")}}