Search Form not Valid XHTML
-
My domain is https://fire-fly.net and I am trying to make my site Valid XHTML 1.1. The only thing from stopping me is the wordpress search form.
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div>
<input type="text" name="s" id="s" size="15" />
<input type="submit" value="<?php _e('Search'); ?>" />
</div>
</form>Validation:
# Error Line 251 column 135: document type does not allow element “input” here; missing one of “ins”, “del”, “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “p”, “div”, “address”, “fieldset” start-tag.…=”1db4c8b4c815a7f16335c5273809131a” />
Any help would be grately appreciated.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Search Form not Valid XHTML’ is closed to new replies.