[thelist] Validation question

David Dorward evolt at david.us-lot.org
Fri Sep 5 16:49:15 CDT 2003


On Fri, Sep 05, 2003 at 11:52:06 -0700, Friesen, Julie wrote:

> The validator's response: Line 135, column 79: there is no attribute
> "onSubmit" (explain...).
 
> What would be a good way to handle this line in order to have the site
> validate? 

(1) Ask yourself why you are using XHTML.

(2) http://www.w3.org/TR/xhtml1/#h-4.2

4.2. Element and attribute names must be in lower case

XHTML documents must use lower case for all HTML element and attribute
names. This difference is necessary because XML is case-sensitive
e.g. <li> and <LI> are different tags.

(hint "S" is not a lower case letter)

-- 
David Dorward                                       http://dorward.me.uk/


More information about the thelist mailing list