I've been wandering around the results of numerous googles for several
hours without reaching a conclusive solution, so I'm dipping a tentative
toe back in ciwah...
I've been persuaded here in the past that serving xhtml is a bad thing (tm).
I want the extra constraints xhtml imposes.
It has been suggested before to create a DTD which requires these &
includes all the requirements of HTML 4.01 & validate against that.
I've downloaded such a document from
http://www.spartanicus.utvinternet.i...1-stricter.dtd which I'm
sure looks familiar to all the regulars here.
My questions are pretty simple to state:
How do I make use of this to achieve the above?
I know I can declare <!DOCTYPE HTML SYSTEM
"http://www.spartanicus .utvinternet.ie/html401-stricter.dtd">
(though I'd first either enquire as to whether I should use this url or
duplicate the file on my own server).
However I'm concerned as to whether some browsers will do something
undesirable in their interpretation of my pages when they see this,
rather than a standard public declaration.
Also, http://www.spartanicus.utvinternet.ie/no-xhtml.htm which links to
the above DTD, declares itself as HTML 4.01.
This leads me to wonder, am I supposed to use the !DOCTYPE HTML SYSTEM
form only for development validation & then replace this with a !DOCTYPE
HTML PUBLIC referring to HTML 4.01 prior to the site going live?
However, if that is what one should do, why not just declare an XHTML
1.0 doctype while developing & then replace this with the html 4.01 type
prior to going live to achieve an equivalent effect?
Is there an ideal solution?
Along the way, which resources do the readers here use for validation?
Software installed locally & if so, what, or the online services of w3c
or wdg?
Lastly, for a current project I'm forced to use DreamweaverMX20 04; can
it be persuaded to validate against a custom dtd?
Perhaps there's a different & better solution to this whole problem.
--
Michael
m r o z a t u k g a t e w a y d o t n e t
hours without reaching a conclusive solution, so I'm dipping a tentative
toe back in ciwah...
I've been persuaded here in the past that serving xhtml is a bad thing (tm).
I want the extra constraints xhtml imposes.
It has been suggested before to create a DTD which requires these &
includes all the requirements of HTML 4.01 & validate against that.
I've downloaded such a document from
http://www.spartanicus.utvinternet.i...1-stricter.dtd which I'm
sure looks familiar to all the regulars here.
My questions are pretty simple to state:
How do I make use of this to achieve the above?
I know I can declare <!DOCTYPE HTML SYSTEM
"http://www.spartanicus .utvinternet.ie/html401-stricter.dtd">
(though I'd first either enquire as to whether I should use this url or
duplicate the file on my own server).
However I'm concerned as to whether some browsers will do something
undesirable in their interpretation of my pages when they see this,
rather than a standard public declaration.
Also, http://www.spartanicus.utvinternet.ie/no-xhtml.htm which links to
the above DTD, declares itself as HTML 4.01.
This leads me to wonder, am I supposed to use the !DOCTYPE HTML SYSTEM
form only for development validation & then replace this with a !DOCTYPE
HTML PUBLIC referring to HTML 4.01 prior to the site going live?
However, if that is what one should do, why not just declare an XHTML
1.0 doctype while developing & then replace this with the html 4.01 type
prior to going live to achieve an equivalent effect?
Is there an ideal solution?
Along the way, which resources do the readers here use for validation?
Software installed locally & if so, what, or the online services of w3c
or wdg?
Lastly, for a current project I'm forced to use DreamweaverMX20 04; can
it be persuaded to validate against a custom dtd?
Perhaps there's a different & better solution to this whole problem.
--
Michael
m r o z a t u k g a t e w a y d o t n e t
Comment