This article needs a technical review. How you can help.

This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

The SVGAltGlyphElement.glyphRef property is a DOMString representing a glyph identifier. It has the same meaning as the ‘glyphRef’ property on the SVGGlyphRefElement interface of the <glyphRef> element.


string = myGlyph.glyphRef;
myGlyph.glyphRef = string;


The return value is a Glyph Identifier, the value of which depends on the format of the given font.


myGlyph.glypRef = "#glyphID";


Specification Status Comment
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'glyphRef' in that specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 1.0 4.0 (2.0) [1] ? 10.6 4.0
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 4.0 (2.0)[1] No support 11.0 4.0

See Also

Document Tags and Contributors

 Contributors to this page: dverane08, PushpitaPikuDey
 Last updated by: dverane08,