HTML SVG Tag || SVG Tag in HTML
×

HTML SVG <svg> Tag

1773

HTML SVG <svg> Tag is a vector-based graphics, and it's useful for defining graphics such as boxes, circles, text, and XML-based image format. It is a language for describing 2D-graphics and graphical applications in XML.

Most Web browsers can display SVG just like they can display PNG, GIF, and JPG.

Note:

SVG images are way better than bitmap images.

Program:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>SVG Element</title>
</head>
<body>
<h1>The SVG Element</h1>
<svg width="100" height="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="4" fill="red" />
</svg>
</body>
</html>


Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments