JavaScript String Object
The strike() method is used to display a string that is struck out.
This method returns the string embedded in the <strike> tag, like this:
<strike>string</strike>
![]()
The strike() method is supported in all major browsers.
Display a struck-out string:
JavaScript String Object
Your message has been sent to W3Schools.