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

Difference between Public vs Internal vs Private state variables in solidity programming langauge with example ?

What is img scr or image scr or scr img ?

Tag is used to create inline frame ?

css for code blocks

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

What is a cell in HTML?