
Bowerbird@aol.com wrote:
lee said:
<?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head> <meta http-equiv="Content-Type" content="text/html; " />
thanks lee. but this has me claiming the file is a form of xhtml, and not just the straightforward-plain-and-ordinary .html that it is. (i believe it would run in a 1997 browser.) what would the lines look like that would support this type of just-the-basics .html file?
Well, if it validates to XHTML 1.0 transitional it will also run in a 1997 browser. XHTML doesn't make old browsers not work, it just cleans up the format so new and useful tools will also work with it. If, on the other hand, you are committed to only supporting older browsers you could try <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> You may have to change the case of the word HTML. HTML is case insensitive for tags, but XML is very case sensitive; I don't know if the validator you contemplate using requires case sensitivity or not.