- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to draw circle in HTML page?
To draw a circle in HTML page, use SVG or canvas. You can also draw it using CSS, with the border-radius property.
Example
You can try to run the following code to learn how to draw a circle in HTML
<!DOCTYPE html> <html> <head> <style> #circle { width: 50px; height: 50px; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; background: blue; } </style> <head> <body> <div id="circle"></div> </body> </html>
Advertisements