Hi All,
More questions as I battle to understand stuff about headers and xhtml . . .
My question is about the two alternative meta headers:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> or
<meta http-equiv="Content-Type" content="application/xhtml+xml;
charset=utf-8" />
Someone (pretty sure it was Lachlan) said that the "content="text/html;"
(or indeed content="application/xhtml+xml;) bit was a waste of time and
didn't do anything. So am I best changing it to simply:
<meta http-equiv="Content-Type" content="charset=utf-8" />
I would then end up with :
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
<title>Tester</title>
<meta http-equiv="Content-Type" content="charset=utf-8" />
<head>
etc.
Is that 'sensible'? Is it 'correct'?
Sorry if this is dumb.
--
Best Regards,
Bob McClelland
Cornwall (UK)
www.gwelanmor-internet.co.uk
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************