how to create a transparent background in html code example Example: image opacity in html img { opacity: 0.5; }