jmeyer9807
Programmer
I am currently restructuring a website that utilizes a 3rd party vendor login script (client login portal) on our site. However, I cannot get the script to validate by strict DTD and I am not sure what can be changed without causing usability issues. The invalid errors I am getting are:
there is no attribute "name"
there is no attribute "target"
document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
And here is the code itself:
If anyone can get me pointed in the right direction on how to validate this as strict, it would be very helpful. I realize this may validate closer under transitional, but my instructions were to have a valid "strict" site. Any suggestions?
there is no attribute "name"
there is no attribute "target"
document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
And here is the code itself:
Code:
<form name="LoginForm" method="get" action="[URL unfurl="true"]https://app02.3plcentral.com/PresentationTier/LoginForm.aspx"[/URL] target="_blank">
<label for="tbUsername">User Name</label>
<input name="tbUsername" id="tbUsername" type="text" />
<label for="tbPassword">Password</label>
<input name="tbPassword" id="tbPassword" type="password" />
<input name="3pl" type="hidden" value="{7c6ac673-0cf2046fc-809a-95dac08b6fb3}" />
<input type="submit" name="submit" value="Sign In" />
</form>
If anyone can get me pointed in the right direction on how to validate this as strict, it would be very helpful. I realize this may validate closer under transitional, but my instructions were to have a valid "strict" site. Any suggestions?