Get your own website Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<head>
<style>
img {
  opacity: 0.5;
}
</style>
</head>
<body>
<h1>Image Transparency</h1>
<p>The opacity property specifies the transparency of an element. The lower the value, the more transparent:</p>
<p>Image with 50% opacity:</p>
<img src="img_forest.jpg" alt="Forest" width="170" height="100">
</body>
<!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_ex_images_opacity by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 14:30:28 GMT -->
</html>