...

View Full Version : Document Declaration



cg9com
11-11-2002, 03:28 AM
Hello,
What is the significance in a document type declaration that i highlighted in blue?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

MCookie
11-11-2002, 07:29 AM
That is the URL of the actual doctype.. take a look there. If a browser needs it, it's there to download it. That's why a DTD without URL is useless.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

cg9com
11-11-2002, 07:53 AM
Yes i went there
i did not realize it was actually all of the information.
welp, i guess i should keep it in there then :p

thanks for the help MCookie

degsy
11-11-2002, 02:35 PM
Some more info for you
http://www.w3schools.com/tags/tag_doctype.asp

cg9com
11-11-2002, 11:04 PM
thanks alot for the help :)
now all i have to do, is get into the swing of using \ at the end of empty tags, im so used to 4.01
xhtml is alot better tho

degsy
11-11-2002, 11:14 PM
Actually, it's a forward slash /

Here is a XHTML reference
http://www.w3schools.com/xhtml/xhtml_reference.asp

cg9com
11-11-2002, 11:14 PM
another quick question
whats the proper way to display a language in xhtml
this is all i can remember

<html xhtml:lang ......

blah something like that?

degsy
11-11-2002, 11:23 PM
http://www.w3.org/TR/xhtml2/mod-attribute-collections.html#col_I18N

cg9com
11-12-2002, 12:47 AM
thanks alot :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum