HTML cheatsheet

A list of useful guide on formatting your page using HTML

Creating break lines

Sometimes you’ll encounter instances where lines are sticking together in one line even though it is correctly formatted in markdown.

For example, I could have the below text in markdown:

This is a line
with
break

But if you refer to the image below, the lines of texts are still on the same line.

To ensure your line breaks as intended, you'll have to add <br> html tag. You may do so in the following manners as shown below.

This is a line with <br>break

or

This is a line with
<br>break

Either way works fine. As you can see with the example below.

Last updated