Forum Moderators: open

Message Too Old, No Replies

Are Doctype required at top of the page for goole to spider corectly?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.o

         

jlyons1234

2:01 am on Aug 29, 2003 (gmt 0)

10+ Year Member



hi.

do I need to have doctype like

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

at the top of each page for google to spider it correctly, or can I leave it out?

thanks
jay

doc_z

4:10 pm on Aug 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



DOCTYPE isn't necessary for Google. Google itself doesn't use it.

However, I normally use it.

MonkeeSage

4:23 pm on Aug 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AFAIK, the doctype declaration is only used so browsers know how to render the page. As doc_z said, Google just ignores it.

Jordan

jlyons1234

11:39 pm on Aug 29, 2003 (gmt 0)

10+ Year Member



thanks guys.... :P

ronin

11:50 pm on Aug 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Wait a second...

Why on earth would you leave it out, if you know about it?

Keep it in! Keep it in!

claus

12:45 am on Aug 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oh, you might as well leave out all the HTML, CSS, and JS while you're at it and just serve plain text to the Gbot, it's much easier to digest that way - just replace http with gopher and add inbounds ;)

btw there's an old flaw in IE that Msoft patched in an unappropriate way so that the gopher requests of this world were directed to localhost by default, and it even spills over to other browsers... a nice way to render a whole protocol practically obsolete. Bots still read it though, and me too after i removed that darn patch...

/claus