Converting some pages from HTML transitional to XHTML strict, validating
at W3C. I have read ad naseum about this and am stumped.
Google has a form you can include on your own Web page for searching
either the Web or the resident domain (site that the search form is on)
that I've been using for quite a while, successfully configuring it to
validate at the W3C validator.
The valid transitional code is:
------------------------------
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=ISO-8859-1>
<input type=hidden name=oe value=ISO-8859-1>
<TABLE>
<tr><td><a class="highlight2" href="http://www.google.com/">
<IMG SRC="./google_x_03a.gif" border="0" ALT="Google"></a></td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Search">
<font size=-1>
<input type=hidden name=domains value="http://yoursite.com">
<input type=radio name=sitesearch value=""> WWW
<input type=radio name=sitesearch
value="http://ed.mullen.home.comcast.net" checked> ALL of yoursite.com
</td></tr></TABLE>
------------------------------
Let's forget the table code; I've stripped it out. I'm not worried about
visual formatting at this point, only validating as XHTML Strict.
I have struggled to figure out how the code needs to be contained in
order to validate as XHTML Strict.
The current validated HTML transitional page is at: http://edmullen.net
Any help gratefully appreciated.
--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net