PDA

View Full Version : Code Validating?


Streetwizard
June 17th, 2007, 08:29 PM
Bleh is anyone on here, pretty good at validating coding?

I have 3 errors on my main page, but the errors are 3 different bits of form code =| I can't figure out how to validate them :gun_bandana:

carlee
June 18th, 2007, 06:17 AM
That page shouldn't be validating as XHTML 1.0 Strict because you're using a deprecated tag (<b></b> instead of <strong></strong> - I think you missed these? Because you're using <strong></strong> as well, lol).

Anyway, change all the <b></b> to <strong></strong> and switch this:
<p>

<form method="post" enctype="multipart/form-data" action="basic.php">
<input type="file" name="userfile" size="40" class="texta" />
<input type="submit" value="Upload" name="upload" />
</form>
</p>
with this:
<form method="post" enctype="multipart/form-data" action="basic.php">
<p><input type="file" name="userfile" size="40" class="texta" />
<input type="submit" value="Upload" name="upload" /></p>
</form>

(<p></p> needs to be inside <form></form>.)