Csaba2000 said:
Also, as an aside, if you've only got standard characters
in an attribute, you don't need the quotes. Thus:
<div id=docdrop style="display:none">
I recommend putting them there anyway. If you always quote your
values, you are less likely to forget the quotes when they are
required. Can you, without looking it up, tell me which of the
following values need quoting:
abe-mad
abe_mad
abe:mad
abe;mad
abe,mad
abe.mad
abe/mad
abe1mad
abe&mad
abe(mad)
abe[mad]
The answer is in
<URL:
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2>, which
also goes on to say: "We recommend using quotation marks even when it
is possible to eliminate them."
It is also a good habit if you ever change to XHTML, where all
attribute values must be quoted.
(and, quoting DU in the message just above this one in my reader:
---
http://www.htmlhelp.org/faq/html/basics.html#quotes
"By default, SGML requires that all attribute values be delimited
using either double quotation marks (...)"
http://www.w3.org/TR/html4/intro/sgmltut.html#attributes
Why attribute values should always be quoted in HTML
http://www.cs.tut.fi/~jkorpela/qattr.html
---
Thanks DU.)
(And as an aside, please trim your quotes, and preferably answer below
the relevant quote. It makes reading much easier).
/L