Line Breaks in HTML
07:28 22 Sep 2009

What is considered "better" practice:

(Where clr is clear:both) or just simply:


I'm really confused since I was once told never to use BR but then BR is designed to be what the div class is?

Question:

Would it be wrong to just use
when you want to clear or should I use the div?

Thanks in advance

edit: I've already read http://www.w3.org/TR/html4/appendix/notes.html#notes-line-breaks and http://www.w3.org/TR/html4/struct/text.html#edef-BR

example (note I've removed classes and added the style directly to the html for ease of reading):

thumb Title text
Length: duration here
descriptive text here
Date: date of added here

In your expert opinions am I using spans, divs, etc correctly? Should I use BR's instead of Divs for the breaks.

Thanks everyone

Closing Note:

Thank you for all for pointing out that a linebreak is nothing to do with clearing of floats. I need to learn exactly what a linebreak is... I guess I don't know.

Thanks to freddy for seeing what I actually wanted to do and giving me the solution I clumsily asked for.

html