Difference between <br> and display: block?

I was wondering, what’s the difference between using <br> and display: block;? Don’t they do exactly the same thing?

Well first of all, one is css and the other is html, so it isn’t unheard of that they do the same thing. There isn’t much distinction other than a br’s use is that of a line beak. If you need a line break then it is the preferred tag to do so. They do very similar things, it’s just using the most appropriate one for any given situation.

1 Like