Forum Moderators: phranque

Message Too Old, No Replies

Doctype?

uh oh...

         

deanril

4:52 am on Apr 9, 2003 (gmt 0)

10+ Year Member



I have a Doc type like this <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

But its not the very first thing on the page, I can only control about after the first 1/10 of the page, and in there I have Doctype, is this ok or is it imperative to have Doctype First?

What recources will happen to my pages if I dont have that Doctype first(likes its been )?

If it important I can get it moved, Im just wondering is this old school stuff, or should I be concerned about this?

Any help would be greatly appreciated, thank you!

le_gber

6:52 am on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But what have you b4? If it's ASP or PHP (or any other server-side language) don't worry it will be parsed by the server and not returned when the bots/people will caome ande visit your site.

Just take a look at your page's source code once returned by server.

Leo

pendanticist

7:03 am on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm thinking this is not old-school....just yet.

!doctype [webmasterworld.com] may be the best thread and A List Apart: Fixing Your Site With the Right DOCTYPE [alistapart.com] is a fine read.

To validate that your Doctype matches your level of html: [validator.w3.org...]

HyperText Markup Language (HTML) Home Page [w3.org] is a good place to look too.

ScrollBars and Doctype headers...? [webmasterworld.com] might provide some more info.

DOCTYPE declaration How to I establish HTML version? [webmasterworld.com] also has some related links.

Pendanticist.

deanril

7:17 am on Apr 9, 2003 (gmt 0)

10+ Year Member



le_gber- yeah its a Dynamic site,".cfm" is all over the place, before where I can imput is the head and all kinds of javascript, and css, Im a newby but I thinks its doing exactly what your saying. Thank you!

pendanticist- thank you very much for those links, the one
"To validate that your Doctype matches your level of html: [validator.w3.org...] " is the one I went to and noticed I didnt have the DocType on the top. Thank you

pendanticist

8:09 am on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Our pleasure deanril. :)

Pendanticist.

g1smd

1:54 pm on Apr 20, 2003 (gmt 0)

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



You may want to notch that !DOCTYPE up to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">