Gazing into my crystal ball I observed "jp2code" <poojo.com/mail>
writing in news::
> For my html header, I use this format:
><!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" >
>
> Visual Studio is giving me this error for the </input> tags:
>
> Validation (XHTML 1.0 Transitional): Element 'input' is an empty
> element and cannot have a closing tag. Instead, it must end with />.
>
> What is the best way to correct this?
>
>
1. Use a strict DocType for new documents - Transitional is for older
documents that are in Transition.
2. Better to use HTML instead of XHTML - unless you have a compelling
reason (other than being trendy) - lurk over at alt.html for reasons
why.
3. If you must use XHTML, then understand:
A) All elements must be closed.
B) Elements and attributes must be in lower case
C) Elements which do not have a corresponding end tag use a slash at the
end of the tag, eg. <img src="mypic.gif" alt="Nice picture" />
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share