How to draw a circle in html css java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to draw a circle in html css java

Hi friends give a solution easy and help me out

4th Aug 2020, 4:23 PM
Anish Kumar Pankaj
Anish Kumar Pankaj - avatar
2 Answers
+ 1
Html <svg width="500" height="500"> <circle cx="200" cy="200" r="199" fill="red"/> </svg> Css <div></div> div{ width:200px; height:200px; border-radius:50%; background-color:red }
4th Aug 2020, 4:37 PM
[bool left=True;]
[bool left=True;] - avatar
+ 1
This is the correct way, create the element in html and style it in css https://code.sololearn.com/W0w79s7b58cU/?ref=app
4th Aug 2020, 4:54 PM
D_Stark
D_Stark - avatar