View Full Version : Document Declaration
cg9com
11-11-2002, 02: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, 06: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, 06: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, 01:35 PM
Some more info for you
http://www.w3schools.com/tags/tag_doctype.asp
cg9com
11-11-2002, 10: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, 10: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, 10: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, 10:23 PM
http://www.w3.org/TR/xhtml2/mod-attribute-collections.html#col_I18N
cg9com
11-11-2002, 11:47 PM
thanks alot :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.