what is the css code for transparent background

 what is the css code for transparent background


<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="thinkforu.jpg" alt="Forest" width="170" height="100">


</body>

</html>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Smart contract code for Anyone can send coins to each other without a need for registering with a username and password with help of Ethereum keypair

How to use Local Variable for whose values are present till function is executing in solidity ?

Tag is used to create inline frame ?

Syntax of writing a different font style in HTML