---
title: altGlyphDef
slug: Web/SVG/Element/altGlyphDef
tags:
  - SVG
  - SVG文本内容
  - 元素
  - 参考
  - 需要兼容性表
  - 需要示例
translation_of: Web/SVG/Element/altGlyphDef
---
<div>{{SVGRef}}</div>

<p><code>altGlyphDef</code>元素定义了一个表达字形的替代物。</p>

<h2 id="用法">用法</h2>

<p>{{svginfo}}</p>

<h2 id="示例">示例</h2>

<h2 id="属性">属性</h2>

<h3 id="全局属性">全局属性</h3>

<ul>
 <li><a href="/en/SVG/Attribute#Core" title="en/SVG/Attribute#Core">核心属性</a> »</li>
</ul>

<h3 id="专有属性">专有属性</h3>

<p><em>无</em></p>

<h2 id="DOM_接口">DOM 接口</h2>

<p>该元素实现了<code><a href="/en/DOM/SVGAltGlyphDefElement" title="en/DOM/SVGAltGlyphDefElement">SVGAltGlyphDefElement</a></code>接口。</p>

<h2 id="参见">参见</h2>

<ul>
 <li>{{ SVGElement("glyph") }}</li>
 <li>{{ SVGElement("glyphRef") }}</li>
 <li>{{ SVGElement("altGlyphDef") }}</li>
</ul>