Posted by Jerry Stuckle on 10/30/06 12:13
BKDotCom wrote:
> Pedro Graca wrote:
>
>>The following line is perfectly valid HTML (I think in any version)
>>
>> <input type="text" name="x><y" id="xy">
>
>
> I would have to disagree
> <input type="text" name="x> is invalid: no closing quote around
> name value
> <y" id="xy"> is invalid. y" isn't a valid cname (only
> alphanumeric?)
>
> if you want 'x><y' as a value you'd need to use name="x><y"
>
Actually, it is legal. name="x><y" is a perfectly valid tag and value.
< and > aren't required here because they are within a quoted
string in a tag.
You do need < and > in plain text, however, when they may be
mistaken for the start/end of a tag.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|