HTML 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

 Live Demo

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

Output

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>

Updated on: 29-Jun-2020

22 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements