0

How to make a circle image using html?

Can you any body help me to make a circle image?

4th Jan 2018, 2:35 PM
jakeer d
jakeer d - avatar
5 Réponses
+ 6
HTML: <img src='img.jpg' alt='' id='a'> CSS: #a { border-radius: 50%; }
4th Jan 2018, 2:49 PM
Amethyst Animion
Amethyst Animion - avatar
+ 5
u need CSS... img { border-radius:100%; /*Height And Width of the image must be equal */ }
4th Jan 2018, 2:46 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 1
u need CSS... img { border-radius:100%; /*Height And Width of the image must be equal */ } Md.Nafis this code is not workings.. can you suggest another..
5th Jan 2018, 5:10 AM
jakeer d
jakeer d - avatar
0
JFS your code is not working,help me to make a circle image, do you know any another way?
5th Jan 2018, 5:11 AM
jakeer d
jakeer d - avatar
- 1
Here’s something that’ll walk you through creating a circle with SVG: https://www.w3schools.com/graphics/svg_circle.asp
4th Jan 2018, 2:42 PM
luciel
luciel - avatar