HTML | <strike> Tag
It defines a strike or line through Text. This tag is depreciated from HTML 5. This tag creates a cut line in the text. Now <del> tag is used instead of this tag.
Syntax:
<strike> Contents... </strike>
Below example illustrates the <strike> tag in HTML:
Example:
<!DOCTYPE html> < html > < head > < title >strike tag</ title > < style > h1, h2 { color:green; } body { text-align:center; } </ style > </ head > < body > < h1 >GeeksForGeeks</ h1 > < h2 ><< B >strike Tag</ b >></ h2 > < p >< strike >GEEKSFORGEEKS</ strike ></ p > < strike >GFG</ strike > </ body > </ html > |
Output:
Supported Browsers: The browser supported by <strike> tag are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Opera
- Safari