Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2013 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6573807 to your computer and use it in GitHub Desktop.
Save anonymous/6573807 to your computer and use it in GitHub Desktop.
SVG can have microformats. just some example SVG I nicked off the web with a nested hCard.
<!DOCTYPE html>
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path id="path1" d="M75,20 a1,1 0 0,0 100,0" />
</defs>
<text x="10" y="100" style="fill:red;">
<textPath xlink:href="#path1" class="h-card p-name">Tantek Çelik</textPath>
</text>
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment