s Element

Description

You use the s element to mark text that is no longer correct or accurate.

The style convention is to display the text with a line drawn through it: s{text-decoration:line-through;}.

Example

The following code shows the s element in use.


<!DOCTYPE HTML>
<html>
<body>
  HTML is now <s>HTML4</s> HTML5.
</body><!--from ww w.  j a va  2s  . com-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed