M
Michael Winter
Thanks for noticing that.
He noticed nothing; he's wrong.
Whilst the path, /TR/html401/, does contain the latest version of HTML
4.01, the path, /TR/html4/, contains the latest version of HTML 4. They
are equivalent, and will remain so as there won't be further versions of
HTML 4.
[snip]
[snip]
I don't know where I got this and the next Meta tag.
The HTML specification describes the Content-Style-Type and
Content-Script-Type http-equiv attribute values. Whilst technically
useful, they're practically unnecessary as browsers do not generally
implement more than one scripting language, and those that do (IE)
default to JScript, anyway.
[snip]
if ((o = o.form) && (o = o.elements) && (o = o['MyTextArea']))
This is completely unnecessary and wrong besides that: you are
using assignment operator (=) instead of comparison operator (==).
Rubbish. If the variable, o, was a reference to a control within the
form, that code would be perfectly fine.
Whilst one could argue that such a style is unnecessary as the
assignments could be performed separately,
if (o.form) {
o = o.form;
if (o.elements) {
o = o.elements;
if (o.MyTextArea) {
o = o.MyTextArea;
/* ... */
}
}
}
it's very unwieldy.
However, the if statement (and its assignments) is unnecessary as the
variable is a reference to the MyTextArea control.
[snip]
What VK should have also mentioned about your document is that
background colour declarations should be paired with foreground colours,
and margins should be used in preference to line breaks.
[snip]
Mike