|
Posted by usenet+2004 on 10/06/06 10:55
Erwin Moller:
> selected="selected" in nonsense.
"Full" attribute specifications are valid in both HTML and XHTML.
XHTML actually requires them, since attribute minimisation is not
allowed. I don't know how seriously you should take the somewhat dated
claim that 'many user agents only recognize the minimized form of
boolean attributes and not the full form' (HTML4.01, sec. B.3.4).
The problem is that the attribute value isn't quoted:
| echo "<option value=$nt[customer]>$nt[customer]</option>\n";}
In HTML only Name characters (i.e., [a-zA-Z0-9._:-]) can occur
unquoted, and in XHTML all attribute values must be quoted. Browser
error recovery probably means the first Name token is taken as the
value, so anything after the first non-Name character is ignored.
--
Jock
Navigation:
[Reply to this message]
|