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