Computer Science, asked by chaitanya3280, 11 months ago

How to draw circle in HTML page?

Answers

Answered by NiksDwivedi
1
\huge\bold{Answer}
_______________________________
We can not draw an actual circle in HTML but we can make something like circle with the help of arc() method that creates a curves and parts of circles.

we can also make circles with the help of CSS and then we paste it on a HTML webpage.

Eg:-

<font color = blue>#container {

position: relative;

}

#circle {

font-size: 50px;

color: #58f;

}

#text {

z-index: 1;

position: absolute;

top: 21px;

left: 11px;

}

<div id="container">

<div id="circle">●</div>

<div id="text">a</div>

</div>

_______________________________

&lt;marquee&gt;&lt;font color = black&gt;Hope it helps you♐
Similar questions