Forum Moderators: open
i am using xhtml transitional but keep getting one validation error. (end tag for element "form" which is not open)
Here is the code below;
<form method="get" name="tip_Form" class="form" action="search/results.html" />
search:
<input name="d" type="text" size="10" style="vertical-align: middle;" />
<input type="hidden" name="n" value="0" />
<input type="image" src="images/go.gif" alt="Click here to search" value="go" style="vertical-align: middle;" />
</form>
It is doing my head in. Any help would be great!
Thanks.
BTW: you may want to also use a label tag. It's the structured-markup "way", makes it easily stylable, and contributes to usability and accessibility too.
...
<label for="d">search:</label>
<input name="d" id="d" type="text" size="10" style="vertical-align: middle;" />
...