Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
h1.hidden {
    display: none;
}

</style>
</head>
<body>

<h1>This is a visible heading</h1>
<h1 class="hidden">This is a hidden heading</h1>
<p>Notice that the h1 element with display: none; does not take up any space.</p>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy