In this article, you will learn How to use Display property using CSS. The Display property specifies how the element will be displayed. Display: none; The <script> element uses display:none; as default. Example:- <html> <head> <title>Display none Property</title> <style> h1.hide { display: none; } </style> </head> <body> <h1>This is the visible heading</h1> <h1 class="hide">This is the hidden heading</h1> </body> </html> […]