I recently had a debate with a colleague who claimed that a <div> tag should be used over a <p> tag when formatting paragraphs.The case against the use of <p> is that it produces irregular spacing across browsers and it is likely to become obsolete like the <b> tag.Is this opinion of the <p> tag shared by the community?
To  or not to ?
html
divs and ps are for completely different purposes. p is for paragraphs, div is for sectional divisions. One is for text formatting, the other is for page structure. It is semantically incorrect to use div in place of p.And the reason the use of b is discouraged is because it's a presentation tag. It has no semantic meaning. Both p and div have their own unique semantic meanings. p will never be obsolete as long as people still format text into paragraphs.Your colleague doesn't appear to be familiar with the principle of separation of content and presentation. Otherwise, he would know why b is abhorred and that presentation issues like text spacing ought to be defined in CSS, not your HTML.