On this page
  1. <svg>
  2. Summary
  3. Notes & Best Practices
  4. Example

<svg>

Prev: `<table>` | Up: media | Next: `<canvas>`
Rel: media, Tables & Media Guide
Ref: MDN Web Docs — <svg>
Tags: #public #web #html #elements #media #tier/standard


Summary

Inline scalable vector graphics directly styleable via CSS (currentColor).

Notes & Best Practices

Example

<svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true">
  <circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="2" />
</svg>

Linked from

Related notes