Computer Science, asked by picker58, 1 year ago

Write a simple HTML code to display a circle using canvas ​

Answers

Answered by Rememberful
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
Anonymous: @Picker58 " thx "ni " thnx " hota h xD
Anonymous: Or Better to say "thanks" hota hai xP
Answered by Anonymous
2

\huge\mathfrak{Answer:-}

⭕ <! 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>

\huge\mathfrak {Thank  You :)}

Similar questions