Renders text in strike-through type. | HTML 4, 4.01, 5 |
HTML Syntax
<s
class = classname
id = value
style = css_style_rules
title = text
>
NOTE: Both start and end tags are required.
The <s
> element represents content that are no longer accurate nor relevant.
For example, a recommended retail price has been marked as no longer relevant as the product in question has a new sale price.
The s element is similar in function to the <del> element, which represents a removal from the document.
The <s>
element has no attribute of its own, but supports global attributes common to all HTML elements.
The following shows how the s element may be used.
<s>This text has a line through it.</s>
which would render on a Web page as
This text has a line through it.
B EM I STRIKE STRONG U