Forum Moderators: open
In HTML 4.01, when using 0 to 9 and A to Z only, they don't have to be quoted, but W3C recommends that they all are.
In XHTML they must be always quoted.
In any HTML version, if the string includes any other characters than 0 to 9 and A to Z, it must also be quoted e.g. color="#FF00FF"
If there is any white space in the attribute it must be quoted.