How to use Opacity Property on Image

In this article, you will learn How to use Opacity Property on Image.

Example:-

<html>
<head>
<style>
img{
height:200px;
width:200px;
  opacity: 0.2;
}
h1{
align:center;
}
</style>
</head>
<body>
<h1>Image Transparency</h1>
<img src="imgage.jpg"/>
</body>
</html>

Leave a Comment