NovelProjects

Monday, January 5, 2009

P vs. BR

We've got a few subjects within our profession that has caused turmoil even within our office. One of those subjects is the use of paragraph tags or break tags.



I'll go ahead and state that I am all for paragraph tags. I know break tags might be 'convenient', but I would rather have proper code than convenient code. You'll probably see me say this over and over, but I really think it's true. Of course, sometimes you just need to get something done, but this is one subject where I really feel that this argument doesn't apply. It takes just as much time to wrap some text in a paragraph tag as it does to type out a break tag.



Why do I think paragraph tags are better? I think it looks prettier and cleaner, but the big kicker is CSS. If you feel like you need just a little more padding above that text, you're done with a break tag. It really allows you to have complete control over the text you're wrapping. Yes, you could adjust the container around the text, but just think about the actual name of the tag: paragraph. Does it not make sense to put a paragraph of text inside of a paragraph tag? Unfortunately, I can't always use this argument for every aspect of my profession due to some circumstances (*cough* Internet Explorer *cough*), but I do as much as possible.



footnote: I already changed all the other posts by the guys to use paragraph tags

1 comments:

Josh said...

P tags FTW!

Post a Comment

Note: Only a member of this blog may post a comment.