HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Mark up text that is no longer correct
The <s>
tag specifies text that is no longer correct, accurate or relevant.
The text will be displayed with a line through it.
The <s>
tag should not be used to define deleted text
in a document, use the
<del>
tag for that.
Element | |||||
---|---|---|---|---|---|
<s> | Yes | Yes | Yes | Yes | Yes |
The <s>
tag also supports the Global Attributes in HTML.
The <s>
tag also supports the Event Attributes in HTML.
HTML tutorial: HTML Text Formatting
HTML DOM reference: S Object
Most browsers will display the <s>
element with the following default values:
s {
text-decoration: line-through;
}