Summary -

In this topic, we described about the <s> tag along with detailed example.

Specifies the text is no longer correct, accurate or relevant. The <s> tag used to specify text is no longer correct, accurate or relevant.

The <s> tag should not be used to replace text or deleted text. The tag can be specified like <s></s> with the text inserted between the opening and closing tags.

Syntax -

<s>…. </s>

Example -

<!DOCTYPE html>
<html>
	<head>
		<title>s element example.. </title>
	</head>
	<body>
		<p>The Sky is <s>green</s> blue</p>
	</body>
</html>

Output -

The Sky is green blue.