E-mail List Archives

Re: Forms

for

From: Philip Pawley
Date: Nov 24, 2002 7:46AM


Hi,

This example shows how important it can be to include quotes around attribute values. The "/" in unquoted attributes are confusing the parser.

The first is the "text/css" in here:-

<LINK href="Webmaster Survey_files/Forms.css" type=text/css rel=stylesheet>

All the best,


At 23/11/02 23:14 -0500, you wrote:
>Hi everyone. Thank you so much for all your comments. Even the technical ones! It's so hard to find this information in the easy terms that you guys put it.
>
>I've done some more work on it and posted it to a site outside the State's firewall. It is now at
><http://www.loveitsimple.com/tutorials/forms/WebmasterSurvey.htm>;http://www.loveitsimple.com/tutorials/forms/WebmasterSurvey.htm
>
>I passed it through the W3C HTML validator ( <http://validator.w3.org/>;http://validator.w3.org/) and it came up with two errors that I don't understand.
>It said the </head> and </form> were not "open" and element "BODY" not allowed here; check which elements this element may be contained within.
>
>Also:
>
><TD width="25%" for="First">First Name:</TD> ^
>Error: there is no attribute "FOR" for this element (in this HTML version)
>
>It's the only [for= ] attribute that it picked up on.
>
>Still have to change <META http-equiv=Content-Type content="text/html; charset=windows-1252">
>but need to log onto another computer to do so. Is on my list.
>
>When coding the form I put double quotes around all the [id="value" ] values. When I transfered the file to another computer to upload outside the firewall, I again opened it in DW and DW removed all the double quotes leaving me with [id=value]. Must be a setting in DW? Are they needed for the [id= ] attribute?
>
>Thanks again for any feedback! Leesa