Are NOBR elements removable?

J

JB

When I validate a page at http://validator.w3.org/ I get the following
result:
element "NOBR" undefined.
You have used the element named above in your document, but the
document type you are using does not define an element of that name.
<<<<<<

This element has been put in automatically by FP 2003 during creation
of Link Bars.

Is it possible to suppress the creation of these elements? Or must one
just live with them and accept that FP won't product valid HTML?

Thanks for any thoughts.

Jim B.
 
M

MD Websunlimited

It is valid HTML it just does not appear in formal HTML specs.

AFAIK, the nobr is applied explictly by the web page author.
 
M

Murray

If it doesn't appear in the specs, it's not valid HTML. <nobr> is not valid
HTML.

Perhaps you mean its use doesn't cause any browser errors?
 
M

MD Websunlimited

No that is not what I meant. I said what I meant - it is valid HTML.

It is valid in that it is supported by IE (all) and NS (all).

It is an object under DHTML
 
M

Murray

<nobr> is only supported on pages that are rendered in quirks mode.

That is invalid HTML. You can call it what you want, but it's invalid.
Your page will not validate with it present. The <nobr> tag does not appear
on the W3C's list of valid HTML elements here -

http://www.w3.org/TR/html4/index/elements.html

You can say that it happens to be supported by all browsers, but that
doesn't make it valid. What makes it valid is when it complies with the
standards published by W3C which define the rules for HTML. It will BREAK
on any page that has a valid and complete doctype, just the same way that
other invalid HTML does, like table heights for example (<table
height="100%"....).
 
M

MD Websunlimited

It is valid HTML / DHTML in IE and NS it but it does not comply with the W3C Recommendations and will not validate to that recommendation.

I don't believe you should use it but it is still valid HTML / DHTML and until they remove it from the browsers it will remain valid.

From http://www.dictionary.comval·id ( P ) Pronunciation Key (vld)
adj.
1.. Well grounded; just: a valid objection.
2.. Producing the desired results; efficacious: valid methods.
3.. Having legal force; effective or binding: a valid title.
4.. Logic.
1.. Containing premises from which the conclusion may logically be derived: a valid argument.
2.. Correctly inferred or deduced from a premise: a valid conclusion.
5.. Archaic. Of sound health; robust.
 
M

Murray

It will fail on any page with a valid and complete doctype.

--
Murray
============

It is valid HTML / DHTML in IE and NS it but it does not comply with the W3C
Recommendations and will not validate to that recommendation.

I don't believe you should use it but it is still valid HTML / DHTML and
until they remove it from the browsers it will remain valid.

From http://www.dictionary.comval·id ( P ) Pronunciation Key (vld)
adj.
1.. Well grounded; just: a valid objection.
2.. Producing the desired results; efficacious: valid methods.
3.. Having legal force; effective or binding: a valid title.
4.. Logic.
1.. Containing premises from which the conclusion may logically be
derived: a valid argument.
2.. Correctly inferred or deduced from a premise: a valid
conclusion.
5.. Archaic. Of sound health; robust.
 
M

MD Websunlimited

Fail what?

The browser will still render the content of the page correctly.

It will fail any W3C valuators, which I've already stated. But that fact does not make it not valid HTML / DHTML for IE and NN.
 
M

Murray

My apologies. Forget the whole conversation. <nobr> is not valid HTML, so
a page with it will not validate, but it seems to be supported in all
browsers I have checked (FF/Safari/IE Mac), even with a valid and complete
doctype.

I can't imagine why you'd want to use this....
 
M

MD Websunlimited

I never said, you'd want to use it, just that it is valid HTML / DHTML and the only way to get in FP is to use it explicitly afaik.

I'm off the block.
 
Top