Forum Moderators: open
Is it true that search robots don't like line breaks in html code. I read somewhere that they see it as bad coding.
Do they not like this kind of coding--
<html>
<body>
<div id="content">
<h1>My Site</h1>
<p>Gold silver platinum</p>
<p>Onyx amethyst ruby</p>
</div>
<div id="links">
<img src="images/image1.gif" />
<img src="images/image2.gif" />
</div>
Should it be--
<html>
<body>
<div id="content">
<h1>My Site</h1>
<p>Gold silver platinum</p>
<p>Onyx amethyst ruby</p>
</div>
<div id="links">
<img src="images/image1.gif" />
<img src="images/image2.gif" />
</div>
Thanks,
Rischen
Longer answer: It won't make any difference to how they read the HTML, so they will still process the page in the same way. It does add a few return characters, and so it slightly increases the total page size (and therefore slightly decreases the code to content ratio). The effect of this would be so small as to be unnoticeable.