I have an icons.svg file with this source:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<font id="MyIcon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode=" " horiz-adv-x="512" d="" />
<glyph unicode="" glyph-name="arrow-left" horiz-adv-x="1308" d="..." />
<glyph unicode="" glyph-name="arrow-up" horiz-adv-x="1308" d="..." />
<glyph unicode="" glyph-name="arrow-down" horiz-adv-x="860" d="..." />
</font></defs></svg>
Is there any way to refer this glyph
tags from HTML
? I think something like this:
<svg role="img" title="arrow-up"><use xlink:href="icons.svg#arrow-up"></use></svg>
Is there any way to use SVG
tags in my HTML code?