Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/svg/element/glyphref/index.md
6567 views
---
title: <glyphRef> slug: Web/SVG/Element/glyphRef page-type: svg-element tags: - Deprecated - Element - NeedsExample - Reference - SVG - SVG Text Content browser-compat: svg.elements.glyphRef
---

{{SVGRef}}{{deprecated_header}}

The glyphRef element provides a single possible glyph to the referencing {{ SVGElement("altGlyph") }} substitution.

Usage context

{{svginfo}}

Attributes

Global attributes

Specific attributes

  • {{SVGAttr("x")}} {{Deprecated_Inline}}

  • {{SVGAttr("y")}} {{Deprecated_Inline}}

  • {{SVGAttr("dx")}} {{Deprecated_Inline}}

  • {{SVGAttr("dy")}} {{Deprecated_Inline}}

  • {{SVGAttr("glyphRef")}} {{Deprecated_Inline}}

  • {{SVGAttr("format")}} {{Deprecated_Inline}}

  • {{SVGAttr("xlink:href")}}

DOM Interface

This element implements the SVGGlyphRefElement interface.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{SVGElement("altGlyph")}}