Neal wrote:
> rf wrote:
> So the element is delimited by a tag or pair of tags, no?
No. The element *contains* a start tag and an end tag.
> Yes, the tag(s) plus the content (if not empty) comprise the element.
Yes. Although sometimes one or more of these things are optional.
> Of course, I agree with you rf, but using the term 'tag" isn't cause
> enough to trash a site.
It is not as per the recommendation. It is not concise and is totally open
to the readers misinterpretation.
Couple that with the questions you see here from the newbies. They think
elements are tags, attributes are tags, style rules are tags, properties are
tags and that tags are commands.
Tell them their tag is missing a ; and it means nothing. Tell them their
property-value pair is missing a ; and it makes sense.
Here is what W3C have to say:
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2
Scroll down a bit to the green bit where they say:
Elements are not tags. ...
So, the recommendation states it rather forcefully (for the recommendation).
Why should we not use what the recommendation says?
> Well, it depends on how "tags" are taught.
They (and HTML for that matter) are usually taught wrongly.
--
Cheers
Richard.