Horje

How to set Default CSS Settings on HTML <s> Tag

Most browsers will display the <s> element with the following default values.
index.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>

Output should be:

How to set Default CSS Settings on HTML <s> Tag




Type :
html
Category :
Web Tutorial
Sub Category :
HTML Tag
Uploaded by :
Admin