HTML SVG: SVG stands for Scalable Vector Graphics which defines the graphics for the web. It is a language for describing 2-D graphics in XML. Each drawn shape in SVG is an object.
1 2 3 4 5 |
<svg width="100" height="100"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="4" fill="turquoise"/> Sorry, your browser does not support inline SVG. </svg> |
Output:
1 2 3 4 5 |
<svg width="400" height="100"> <rect width="400" height="100" style="fill:rgb(255,128,0);stroke-width:10;stroke:rgb(0,0,0)" /> Sorry, your browser does not support inline SVG. </svg> |
Output: