Hide the <h1> element and take up the same space as before. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Hide the <h1> element and take up the same space as before.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
h1 {<!--from  w  w w .  ja  va  2 s. co m-->
    visibility: hidden;
}
</style>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>

Related Tutorials