<div style="opacity:0.6; background-image:url(...);">
<div style="opacity:1.0;">
Text
</div>
</div>
I expected this to make the background have an opacity of 0.6 and the text have 100% opacity. Instead, they both have an opacity of 0.6.
Any help would be appreciated .
HTML HyperText Markup Language is used to create Web pages and tells the browser how to display them. It designs the basic layout and formatting of Web pages.HTML is made up of elements or tags and attributes which work together to identify document parts and tell the browser how to display them.