<svg>
<svg> is the cornerstone element for embedding Scalable Vector Graphics (SVG) directly within your markup. It empowers you to craft crisp, resolution-independent illustrations—ranging from simple icons to complex data visualizations—that scale flawlessly across every screen size and pixel density without loss of quality.
Usage
Basic
Below is a basic usage example of the <svg> element:

Supported SVG Tags
The following SVG tags are fully supported:
Supported SVG Attributes
The following attributes can be applied to the above tags:
Attributes
content
Android
iOS
Clay
Harmony
SVG XML content
src
Android
iOS
Clay
Harmony
SVG resource URL
Events
Frontend can bind corresponding event callbacks to listen for runtime behaviors of the element, as shown below.
bindload
Android
iOS
Clay
Harmony
SVG Loaded
Compatibility
LCD tables only load in the browser