HTML SVG

Example

<!DOCTYPE html>
<html>
<body>

<svg width=”250″ height=”555″>
<circle cx=”50″ cy=”50″ r=”44″
stroke=”green” stroke-width=”4″ fill=”yellow” />
Sorry, your browser does not support inline SVG.
</svg>

</body>
</html>

Output

Sorry, your browser does not support inline SVG.

Example

<!DOCTYPE html>
<html>
<body>

<svg width=”400″ height=”180″>
<rect x=”50″ y=”20″ rx=”20″ ry=”20″ width=”150″ height=”150″
style=”fill:red;stroke:black;stroke-width:5;opacity:0.5″ />
Sorry, your browser does not support inline SVG.
</svg>

</body>
</html>

Output

Sorry, your browser does not support inline SVG.
Updated: February 12, 2019 — 8:24 am
Java Script © 2019