html validation fails

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
Morten Snedker said:
It fails due to tags not being closed properly.

At the first glance, some 'input' tags look
suspicious. They are closed with '/>', which is
AFAIK an XML-only feature.

You could store the HTML output from within
the browser and reduce the source text until
the validation error disappears.

Regards,
Joachim
 
HTML is now XHTML and is XML, therefore it has a schema which says the Select
tage can not be empty. Yet your Listbox has no items and therefore doesnt
have any options in the select tag. Try adding a blank option to the listbox.

Ciaran O'Donnell
 
On Mon, 27 Nov 2006 08:23:01 -0800, Ciaran O''Donnell

According to W3C it actually does seem like it is the missing "option"
that causes validation to fail.

I'm not aware how to add a blank option as you suggest (or maybe I
just don't know what you mean) - can you help me the last step?

Regards /Snedker
 
On Mon, 27 Nov 2006 08:23:01 -0800, Ciaran O''Donnell

Figured out your suggestion and that did the trick! Thanks to both of
you for your efforts! :-)

Regards /Snedker
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top