NOBR - a non-standard HTML tag that all browsers support


I ran into a NOBR tag within the code generated by Sharepoint 2010. That didn't look like a standard HTML tag and I was able to confirm that by looking up my favorite HTML Reference - W3Schools 

Here's what the SitePoint Reference says -

The nobr element is a proprietary (as it is not based on any standard) one that was used to define sections of text that the browser should not allow to wrap, regardless of what may happen, for example the user resizing the window to a small viewport. As it is deprecated - and the effects can be achieved using CSS - you should not use the element; this is here for reference only. 


The nobr element has good support in modern browsers (for backwards-compatibility reasons) but should not be used. 

rel="nofollow" is a non-standard attribute-value that popular browsers support for the sake of search engines.



Comments