|
Posted by David Dorward on 11/30/05 02:04
dorayme wrote:
> I have noticed that type=hidden is often written without quotes.
> Is this so, or would it be better practice to use quotes as in
> type="hidden"?
In certain cases, authors may specify the value of an attribute without
any quotation marks. The attribute value may only contain letters (a-z
and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII
decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal
58). We recommend using quotation marks even when it is possible to
eliminate them.
-- http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|