CSS3 > Visibility

Hide in CSS3

How to hide the element using CSS?


Hidden

The hidden value is given to the visibility attribute to hide the text or image on the webpage  

 <p>Hidden</p>
   <p style="visibility:hidden">TechFunda is online tutorials </p>

In the above code snippet the hidden element is defined by using visibility hidden to hide the text from the webpage 

output

Image hidden

Image hides the image by using visibility attribute to hide the image on the webpage

 <p>Image hidden</p>
    <img src="12.JPG" style="visibility:hidden" />

 Image hidden

In the above code snippet we defined to hide the image by using visibility attribute to hide the image on the webpage

output

 Views: 3828 | Post Order: 121



Write for us






Hosting Recommendations