hwg-style archives | Nov 2003 | new search | results | previous | next |
Re: doctype headerby "grandane" <grandane(at)grandane.com> |
|
Hi one and all, Am hoping someone can help? Have validated all pages on small website as valid xhtml (transitional), both when online and from files on my computer, both sources receive validation but, one page, altho validated from file on computer, will not validate when posted online.....says page lacks 'encoding information' and without encoding information impossible to validate? (All the above validated pages have same info in doctype heading?) I am using the following (without the underlining): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Incidently, bought book on XHTML and the above is the info recommended using? Is the above correct or is there something else I should be using. Have been to all the places one is directed for encoding info, sorry to say none of it makes sense to me so I am getting nowhere.....another thing I see mentioned at W3C is character sets.....is this something else that should be added to the above doctype? Any help would be sincerely appreciated. TIA Pat
HWG hwg-style mailing list archives, maintained by Webmasters @ IWA