Computer >> Computer tutorials >  >> Programming >> HTML

HTML <strike> Tag


The <strike> tag in HTML is used to set the strikethrough text.

Note - The <strike> tag isn’t supported in HTML5

Let us now see an example to implement the <strike> tag in HTML−

Example

<!DOCTYPE html>
<html>
<body>
<h2>Product Launch</h2>
   <p>The product is in <strike>beta testing</strike> launch mode.</p>
</body>
</html>

Output

HTML <strike> Tag

In the above example, we have set strike text using the <strike> element −

<p>The product is in <strike>beta testing</strike> launch mode.</p>