How to add line break using only CSS?

Spread the love

To add line break using only CSS, we display elements as block elements.

For instance, we write

h4 {
  display: block;
}

to display h4 elements as block elements.

Leave a Reply

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