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