Rotating images

I am trying to find a way to rotate images in HTML, and i cant come up with a way to rotate my image without rotating the iframe my image is in… This doesnt pertain to any lessons on here but i think it would be good info for anyone taking these courses to know.

Thanks in advance

a good search query on google would be: css3 rotate image, then you find this stackoverflow question, which demonstrate this is possible