Should you EVER use the <br> tag?

Hey there,

For formatting blocks of code, I recommend looking at both the <code> tags and the <pre> tags - the <pre> tags will preserve your white-space (such as line breaks).

In general, <br> tags are used where line breaks are syntactically relevant, such as poetry (where a line break determines the structure/flow of the actual content, vs the appearance).

1 Like