HTML SVG <svg> Tag
0 1989
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>
Share:
Comments
Waiting for your comments