<S> | NN 3 IE 3 HTML 3.2 |
<S>...</S> | HTML End Tag: Required |
The s element renders its content as strikethrough text. This element is identical to the strike element; it was adopted because it more closely resembled the one-character element names for other type formatting (such as b, i, and u elements). In any case, both s and strike elements are deprecated in HTML 4 in favor of the text-decoration:line-through style sheet attribute. |
|
Example | |
<P>If at first you don't succeed, <S>do it over</S> try, try again.</P> |
|
Object Model Reference | |
[window.]document.getElementById(elementID)
|
|
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
|