Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




S - Strike-through Text

Syntax <S>...</S>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements

The S element, deprecated in HTML 4.0, suggests that text be rendered with a strike-through style. In many cases, use of a phrase element such as DEL is more appropriate since such elements express the meaning of the text more clearly. However, since support for DEL among browsers is weak, S could be useful in combination with DEL, as in the following example:

The latest version of HTML recommended by the W3C is HTML <DEL DATETIME="1997-12-19T00:00:00-05:00"><S>3.2</S></DEL> <INS DATETIME="1997-12-19T00:00:00-05:00">4.0</INS>.

Note that STRIKE is better supported than S (based on Netscape 2.x and 1.22 supporting STRIKE but not S), and so STRIKE should be used in place of S. There does not appear to be any advantage to using both STRIKE and S; all browsers that support S also seem to support STRIKE.

If DEL is not a suitable structure, style sheets should be used to complement or replace instances of S. CSS1 provides the text-decoration property for strike-through text.

More Information



With any suggestions or questions please feel free to contact us