For convenience, I write all my blog posts in bare HTML. Everything seems to be working, but I see that sometimes, Blogger's WYSIWYG editor wraps everything up in a <div> and uses <p> tags. Should I use those? I usually just type in raw text and use double <br> tags to differentiate between paragraphs. Is this acceptable?

  • Depends on if you want line breaks or paragraphs Commented Sep 11, 2012 at 22:35

1 Answer 1


You shouldn't use br elements for separating paragraphs. From the HTML5 specification:

br elements must be used only for line breaks that are actually part of the content, as in poems or addresses.

A paragraph should be enclosed in a p element.

The div element doesn't add/change any meaning. At most it changes the styling of the content (via CSS; depends on the theme). So you can omit it if you are happy with the design of your content.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.