<form method="get" id="searchform" action="http://my-website.byethost18.com">
<div>
<input type="text" value="Search Website" name="s" id="searchtext" />
<div class="alignright">
<input type="submit" value="Search" id="searchsubmit" />
</div>
</div
</form>
When I that form in my page and try to validate using w3c's validation page it gives me an error saying,
1. Error Line 18 column 0: unclosed end-tag requires SHORTTAG YES.
</form>
I can't figure out what the problem is. does anyone else know?
Here's the proper setup to put in the w3c's validator.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>a title</title>
</head>
<body>
<form method="get" id="searchform" action="http://my-websight.byethost18.com">
<div>
<input type="text" value="Search Website" name="s" id="searchtext" />
<div class="alignright">
<input type="submit" value="Search" id="searchsubmit" />
</div>
</div
</form>
</body>
</html>


