Forum Moderators: open
Unfortunately, I find that many visitors prefer the visuals, so even though it may be a slight disadvantage with Google, we'll probably continue lean towards giving our visitors what they want.
Strip our all the js and css into external files.
If you are using Dreamweaver Layers, there are a couple of free extensions that will strip out the layer positioning information and dump it into the <head> with your css styles. Then you can move all this to an external css file and end up with a nice tightly coded page where the content to html ratio is high.
prefer the visuals
Visuals don't slow down a bot. However, throwing your content into visuals will certainly hide your content from the bots.
I'm not sure that "content density" is the right word. What you are talking about is the "Text to HTML Ratio" and it's one of the most basic aspects of seo-ing.
I don't think you can call a site properly optimized if you don't at least try to trim some fat from the code in some way, including the superfluous <td>'s that Dreamweaver loves to throw in.
I've been doing things this way for so long, that I have no current testing on the issue. So I'm wondering if it's REALLY part of the algo today, and if it still is, why?
if it still is, why?
Maybe Google's PhD's are nostalgic of HTML 1.0 and want to go back in time, when the web was only an information based medium, web bages where only text and nobody was trying to spam search engine (don't know if they existed back then, though) by using filthy techniques ...
What do you think? :)
Keeping content close to the top of the page (at the code level) for the benefit of the bot, as opposed to making it slog through a 45k Drop Down Menu, is a good way to approach it.
There are some things that some clients may insist on, like hit tracking code, and the best you can do is to tack it on at the end, after your content.
The html size issue is possibly a bi-product of some kind of speed and usability factor.
I know its a generalisation, but smaller, tighter coded pages are usually also faster and more useful to the viewer. Not just because of the coding, but maybe a load of related issues involved.
If Google do any kind of viewer satisfaction testing, the end result would possibly be that smaller pages scored higher. Even if page size wasn't the main reason for the preference, it might be enough for them to factor as a 'plus'.