Are you a Google Analytics enthusiast?
More SEO Content
Posted 02 September 2005 - 07:21 AM
As part of the optimization process for my website we think of taking out all the DIV tags currently present in the code and replacing them with span tags.
Do someone know whether it's optimization wise to replace DIV tags with the SPAN tags without hurting the optimization process ? Do SE's 'prefer' <span> above <div> or maybe it makes no difference?
Do someone have past experience with such a case?
Posted 02 September 2005 - 07:38 AM
One thing to remember from the design side of things though is that <div>'s insert what amounts to an implicit <p> that <span>'s don't. That's usually the reason I sometimes choose a span over a div, for those times when I need to apply a CSS class to text in the middle of a sentence.
Posted 02 September 2005 - 07:39 AM
Posted 02 September 2005 - 09:18 AM
Every one you replace will add two bytes to the download overhead, plus 8 extra bytes to add a <br> above and below where needed.
Posted 02 September 2005 - 11:28 AM
Sure, CSS can give a <span> the visual effect of a <div> and vice versa, but that doesn't mean they're identical tags. No two tags in any form of HTML or XHTML are identical.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users