Which HTML tag is used to give strikethrough effect to text?

Which HTML tag is used to give strikethrough effect to text?


 Not Supported in HTML5.

The <strike> tag was used in HTML 4 to define strikethrough text.

if want to write strikethrough effect to text in HTML 4 then you can write 


<html>

<head>

<title>

Which HTML tag is used to give strikethrough effect to text?

</title>

</head>

<body>

<p>This is <strike>only support HTML 4 </strike>  not HTML 5 strikethrough effect to text </p>

</body>

</html>

Comments

Last 7 Days

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example