Home of web learners


Display is used to change display content in webpage

Lets look an example:

#dp{ display:none; }
<p id="dp">This is a text </p>
<p>This is another text </p>


This is another text

This is another text

Here we see that first text is not displayed,difference between visiblity hidden and display none is in visibility hidden content blocks its place but not shown,but in diplay none content is like destroyed,not block place of it


About webn3rd