Forum Moderators: martinibuster

Message Too Old, No Replies

Google searchcode not valid xhtml 1.0?

         

Crickey

9:17 pm on Mar 4, 2006 (gmt 0)

10+ Year Member



I just put up another searchbox on my site and when I validate my code i get a warning that my page is no longer Valid XHTML 1.0 Transitional.

It's the center tags that trigger this warning.

Can I just remove these tags or would that be against their code altering TOS?
I'm not changing the way results will get displayed or fetched in any way so I don't relly see a problem in this but I just want to make sure if this would be ok.

Thez

10:03 pm on Mar 4, 2006 (gmt 0)

10+ Year Member



It's against the TOS.

RammsteinNicCage

3:33 am on Mar 5, 2006 (gmt 0)

10+ Year Member



[webmasterworld.com...]

Jennifer

Andrew Bassett

7:19 pm on Mar 5, 2006 (gmt 0)

10+ Year Member



I have the same concern; my website is designed for mobile devices.

I followed the link, but I'm not convinced that Google would allow me to make it XHTML compliant.

I may be wrong, but I see three problems with the code:

- <center>
- <img border="0">
- <img></img>

I did email Google about it, so I guess we'll see.

Mokita

12:22 am on Mar 6, 2006 (gmt 0)

10+ Year Member



Stu Nicholls has a method for adsense in xhtml. Maybe you could adapt it for Search. He has confirmed with Google that it doesn't break any rules.

[cssplay.co.uk...]

Andrew Bassett

12:51 am on Mar 6, 2006 (gmt 0)

10+ Year Member



Hmm, 2 people say it's OK? I guess I'll take your word for it.

No, maybe I'd better wait a couple of days for the reply.

RammsteinNicCage

3:25 am on Mar 6, 2006 (gmt 0)

10+ Year Member



It's of course better to wait for proof just in case something does go wrong, this way you have the proof that you can send them.

Jennifer

Zygoot

3:52 am on Mar 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Enter Google's homepage or a random SERP into a HTML validator and you'll probably be surprised. It's full of errors.

Andrew Bassett

3:54 am on Mar 6, 2006 (gmt 0)

10+ Year Member



I know, I actually curiously checked about a week ago.