How to create a line break with HTML

There are usually multiple ways to create line breaks to your text. Wrapper each paragraph in a p-tag would usually do the trick but you can create manual line breaks as well. To do this you only need a single tag like this…

<br />

If you need multiple line breaks you can just add more breaks like this example…

<br /><br />

We don’t recommend multiple line breaks like this with HTML. If you want to add more space between elements your should consider a CSS solution using padding and margin.

  Written by: Michael from Beginnrtuts.com     25-08-2022     Written in: HTML tutorials

Leave a Reply

Your email address will not be published.