Alex Rivera | Logout

Should I use the <p /> tag in markup?

Asked 2009-08-11T15:25:28.707
18

I have always used either a <br /> or a <div/> tag when something more advanced was necessary.

Is use of the <p/> tag still encouraged?

Edit
Report

1 Answer

4

From the HTML 4.01 Specification:

We discourage authors from using empty P elements. User agents should ignore empty P elements.

While they are syntactically correct, empty p elements serve no real purpose and should be avoided.

answered 2009-08-11T15:32:37.430

Your Answer