Forum Moderators: phranque

Message Too Old, No Replies

Does length of HTML source lines affect indexing / ranking?

Long lines & keywords higher on page, or maximum length?

         

Mr_PHP

2:31 pm on Jan 29, 2005 (gmt 0)

10+ Year Member



Is there any maximum length of HTML source code lines - any standards created for this?
I read 80 somewhere, and PHP's wordwrap function wraps at 75 chars...

Is there any maximum for Search Engines?
Using longer lines means keywords are placed higher (higher line), which is important for SEO.
Will pages with very long HTML lines not be indexed, or less likely?

Googleguy, can you comment on this?
What's a good maximum HTML source char.width for Google?

Thanks anyone very much for any input.

encyclo

4:57 pm on Jan 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



White space is meaningless in HTML. You can even put your entire page on one line with no problems whatsoever for spiders or browsers. Your content needs to be nearest the beginning of the source code, not near the "top".

Mr_PHP

5:13 pm on Jan 31, 2005 (gmt 0)

10+ Year Member



Thanks for the reply encyclo.

I guess I've read this might only be a problem for some browsers...

How about breaking tags when wordwrapping, such as HREF tags or IMG tags? (putting a linebreak inside an attribute or property)
Will those still be readable by browsers and by searchengines?