| hwg-basics archives | Sep 2003 | new search | results | previous | next |
RE: Form won't validateby "Hugh" <hblair(at)hotfootmail.com> |
|
> -----Original Message-----
> On Behalf Of Linda Shumaker
>
> Hugh was kind enough to suggest I post my sick form on my
> server and then direct you to a url. Here it is <
> www.stopviolentyouth.org/temp/form.html
First (semi) problem, you have:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
and that's incomplete. It should read:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
The link give it a 'standard' / definition to use.
But the most important thing missing is something like this:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
(put inside <head></head>)
Oh, and your page did NOT have a <head> tag - not good. I added
it in the code.
This defines a character encoding label. I've made the above
changes and posted it to my site at:
http://www.hotfootmail.com/form.html
Now it can be used by the w3 validator service at:
http://validator.w3.org/
Go here you'll see the errors. You should understand (most of) them.
Ask if you don't.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hotfootmail.com%2Ffor
m.html
Scroll down far enough and you'll see the new page code.
Hugh
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA