Hide an Element - Tryit Editor for Web Developers
Edit This Code:
See Result »
<html> <head> <style> h1.hidden { visibility: hidden; } </style> </head> <body> <h2>This is a visible heading:</h2> <h1 class="hidden">This is a hidden heading</h1> <p>Notice that the heading still takes up space...</p> <br> <img src="logo.jpg"/> </body> </html>
Result: