How to make an empty div take space with HTML?

Spread the love

Sometimes, we want to make an empty div take space with HTML.

In this article, we’ll look at how to make an empty div take space with HTML.

How to make an empty div take space with HTML?

To make an empty div take space with HTML, we add   inside it.

For instance, we write

<div>&nbsp;</div>

to add an empty div that takes space.

Conclusion

To make an empty div take space with HTML, we add   inside it.

Leave a Reply

Your email address will not be published. Required fields are marked *