HTML STRIKE <strike> Tag
0 2145
HTML STRIKE <strike> tag was Define to strike a line through the text, contained within it.
The <strike> tag is not supported in HTML5. We can use <del> or <s> instead. You can also use CSS for same results.
Syntax:
<strike> content goes here </strike>
Program:
<!DOCTYPE html> <html> <head> <title>HTML Strike Tag</title> </head> <body> <h2>Example of Strike Tag</h2> <p><strike>This is not a valid paragraph</strike></p> <p>This is a valid paragraph</p> </body> </html>
Output:

Share:
Comments
Waiting for your comments