It's a small problem but I have a program with the following piece of code and I get a W3C validation error.
<label>First Name:</label>
<input type="text" id="fname" name="fname" value="" size="20" maxlength="20" required="required" /
<label>Last Name:</label>
<input type="text" id="lname" name="lname" value="" size="30" maxlength="30" required="required" />
I only get an error on line 2, and not on line 4
Does it have something to do with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">



Reply With Quote

Bookmarks