Set the transparency/opacity of the <img> element to "0.4". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the transparency/opacity of the <img> element to "0.4".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
img {<!-- ww w.j a v a2 s . c o  m-->
    opacity: 0.4;
}
</style>
</head>
<body>

<img src="http://book2s.com/resources/a.png" width="150" height="113">

</body>
</html>

Related Tutorials