HTML Break Element – When to use it ?

Well like other’s i had been using the <br/> when ever i could thinking that since its an html element its okay to use it. Well its not. So STOP using it.

The use of the Break Element (<br/>) is only to break lines between text in paragraphs. Using it to add padding between elements was one of the ways i used it for. Use <div> instead as many number of times you want instead of the break element.

Another place where we tend to use <br/> is in a vertical Menu for places each link on a different line. The right way of addressing this is by using unordered list (<ul>) and list items (<li>).

In case you really need that extra spacing use div’s with properties like margin and padding. Let CSS do the magic!

Hope to see you guys implement this hence forth!