Do you know where your variables are? | |
PerlMonks |
Re: Re: Re: My favorite HTML font style tag is...by Joost (Canon) |
on Aug 19, 2003 at 14:09 UTC ( [id://284898]=note: print w/replies, xml ) | Need Help?? |
But most of the time I see <div> tags used where a <p> or some other tag that actually has meaning would be better. The problem with (or the point of) <div> and <span>. tags is that they don't have any meaning.
This means that you are putting information (content) in a 'block' that appears to have no meaning at all.
Though I can see the use of the construct in some cases, just applying <div> and <span> anywhere you want a layout change is bad practice. For instance, this:
Is much better written:
- Don't laugh too hard at the above example, I've seen plenty of this in real sites made by supposedly professional companies. Joost.
In Section
Past Polls
|
|