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