Write a simple HTML code to display a circle using canvas
Answers
Answered by
6
<html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Circle</h2>
<svg id="svgelem" height="200">
<circle id="redcircle" cx="50" cy="50" r="50" fill="black" />
</svg>
</body>
</html>
picker58:
it helped thx
Answered by
2
⭕ <! DOCKTYPE html >
<html>
<head>
<meta charset = utf - 8/>
<title> Draw a circle </title>
</head>
<body onload = "draw();">
<canvas id = "circle" width = "150"
height = "150"></canvas>
</body>
</html>
Similar questions
Chinese,
6 months ago
Math,
6 months ago
Chemistry,
6 months ago
Computer Science,
1 year ago
Hindi,
1 year ago