Definition and Usage The strike() method is used to display a string with a strikethrough. Syntax stringObject.strike() Example I...
Definition and Usage
The strike() method is used to display a string with a strikethrough.Syntax
stringObject.strike() |
Example
In this example "Hello world!" will be displayed with a line trough it:<script type="text/javascript"> var str="Hello world!"; document.write(str.strike()); </script> |