![]() |
This tag is used to specify that the text content is no longer correct or accurate. This tag is similar but slightly different from the <del> tag. The Definition and UsageThe The Browser Support
Global AttributesThe Event AttributesThe |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The s element</h1>
<p><s>Only 50 tickets left!</s></p>
<p>SOLD OUT!</p>
</body>
</html>
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
s {
text-decoration: line-through;
}
</style>
</head>
<body>
<p>An s element is displayed like this:</p>
<p><s>Some no-longer correct text.</s></p>
<p>Change the default CSS settings to see the effect.</p>
</body>
</html>
html s |
How to create HTML <s> Tag | HTML Tag |
How to set Default CSS Settings on HTML <s> Tag | HTML Tag |
Read Full: | HTML Tag |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 6 months ago |
Uploaded by: | Admin |
Views: | 168 |
Reffered: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s