hwg-basics archives | Mar 2003 | new search | results | previous | next |
Re: HWG-Basics: XHTML 1.0 validationby "Darrell King" <darrell(at)webctr.com> |
|
Meta tags are empty elements and therefore do require the closing slash. The space before the slash is actually a hack intended to prevent display errors from some earlier platforms. The space is not required, but will not interfere with validation or well-formedness in general. THe closing slash is required for any empty element: <meta ... /> <br/> or <br /> <hr/> or <hr /> <input ... /> ...etc D ----- Original Message ----- From: Art Zoller Wagner It appears that you have to use " />" at the end of meta and link tags. I think there is a space required before the "/" This validates: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="css/zw.css" />
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA