<NOFRAMES> | NN 2 IE 3 HTML 4 |
<NOFRAMES>...</NOFRAMES> | HTML End Tag: Required |
The noframes element contains HTML that is rendered by browsers incapable of displaying frames. Browsers that are capable of displaying frames ignore the noframes element and all content it contains. Content for this element should instruct the user about using frames or perhaps offer a link to a frameless version of the page. The most common location for the noframes element is inside a frameset element. The HTML 4 specification, however, sees nothing wrong with embedding the element in a rendered document, if it makes sense for your application. It could be useful if your page employs an iframe element, and you want browsers not equipped for that element to alert users about what they're missing. All standard attributes of the noframes element were added to support Cascading Style Sheets. This seems odd, because it would seem very unlikely that a browser would support CSS but not frames (with the exception of Navigator 4's lack of iframe support). |
|
Example | |
<FRAMESET cols="150,*"> <FRAME name="navbar" src="nav.html"> <FRAME name="main" src="page1.html"> <NOFRAMES>Your browser does not support frames. Click <A href="noFramesIndex.html">here</A> for a frameless version. </NOFRAMES> </FRAMESET> |
|
Element-Specific Attributes | |
None. |
|
Element-Specific Event Handler Attributes | |
None. |
lang | NN 3 IE 4 HTML 4 |
lang="languageCode" | Optional |
The language being used for the element's attribute values and content. A browser can use this information to assist in proper rendering of content with respect to details such as treatment of ligatures (when supported by a particular font or required by a written language), quotation marks, and hyphenation. Other applications and search engines might use this information to aid the selection of spell-checking dictionaries and the creation of indices. |
|
Example | |
<SPAN lang="de">Deutsche Bundesbahn</SPAN> |
|
Value | |
Case-insensitive language code. |
|
Default | |
Browser default. |
|
Object Model Reference | |
[window.]document.getElementById(elementID).lang
|