[css-d] Conceptual problems with the doctype

2008-04-04 Thread Rachel Mawhood
Hello

Validating the html on a site built this week, and the only remaining 
uncorrected error is to do with the doctype.  I don't understand the 
instruction: I tried putting in the line the validator says is 
missing but that produced a new error.

At the moment I have

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;

If I have to add

html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en

where does it go, and doesn't that mean two closing /html tags at 
the foot of the page instead of the normal one?

URL, if needed (this is the development area - there is a temporary 
page on the client's domain www.egg-skelter.co.uk)

http://www.longitude0.co.uk/egg-skelter/development/index.php

TVIA
Rachel


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Conceptual problems with the doctype

2008-04-04 Thread Alan K Baker
- Original Message - 
  From: Rachel Mawhood 
  To: css-d@lists.css-discuss.org 
  Sent: Friday, April 04, 2008 8:17 PM
  Subject: [css-d] Conceptual problems with the doctype


  Hello

  Validating the html on a site built this week, and the only remaining 
  uncorrected error is to do with the doctype.  I don't understand the 
  instruction: I tried putting in the line the validator says is 
  missing but that produced a new error.

  At the moment I have

  !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;

  If I have to add

  html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en

  where does it go, and doesn't that mean two closing /html tags at 
  the foot of the page instead of the normal one?

  URL, if needed (this is the development area - there is a temporary 
  page on the client's domain www.egg-skelter.co.uk)

  http://www.longitude0.co.uk/egg-skelter/development/index.php

  TVIA
  Rachel

  On two lines like this:

  !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;
  head

  will work fine.

  Regards, 
   
  Alan.
   
  www.theatreorgans.co.uk
  www.virtualtheatreorgans.com
  Admin: ConnArtistes, UKShopsmiths, 2nd Touch  A-P groups
  Shopsmith 520 + bits
  Flatulus Antiquitus
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/