I have 12 errors, but some are just pure non existent. I’m using the smarty templating engine.
Doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Here’s the error report, but the “duplicate specification of attribute “value”” simply isn’t true according to my .tpl: jsfiddle of .tpl here
{textfield class="quetext" value="Epost*" onblur="if(this.value=='')
this.value='Epost*';"
onfocus="if(this.value=='Epost*') this.value='';"}
Also, does a textarea require the attribute “rows” and “cols”? I thought that was only for tables?
And I don’t understand what the two errors at the end mean:
Line 586, Column 80: Attribute value redefined...
Please help!
Thanks 🙂
(Sorry if things chop and change, I’m working on the valdiation now, to tidy up as many errors as possible.)
The validator is only looking at your output. You have the value attribute in there twice, no matter what you .tpl says.
Yes
Tables don’t have those attributes at all
You have, in essence:
<foo value="something" value="something">This is the same problem as before, except it is the error on the second one rather than the first.