According to the w3c specs a web page is not valid if the DOCTYPE
declaration is missing. So, if I add the following doctype to my pages
they will be "compliant" :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
But is this relevant to INTRANET sites where users might not have
INTERNET access? How does the page get validated against the
http://www.w3.org/TR/html4/strict.dtd DTD if the users don't have
internet access? What happens if the browser is unable to connect to
the www.w3.org site where the .dtd document is stored? Does the
validation "fail"?
Should I copy the .dtd file onto my intranet server and change the
doctype to something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://myintranet/strict.dtd">
Or should I leave out the doctype declaration completely for intranet
pages?