how to add a rounded corners to an image html code example Example: how to round the edges of an image in HTML img.rounded-corners { border-radius: 30px; }