Example

HTML A simple code example of <svg> tag

Laboratory

description & Usage

The <svg> tag contains several methods for creating paths, boxes, circles, text, and graphic media that you can use in some html documents.

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
<svg>

Global Attributes

The svg tag supports the HTML Global Attributes.

Event Attributes

The svg tag supports the HTML Event Attributes.

More Examples

Example

HTML <svg> tag with custom style -Example #1

Laboratory