Display strikethrough text in HTML

The HTML <strike> tag specifies strikethrough text. This tag is deprecated now, use <del> instead. The HTML <del> tag is used for markup of deleted text i.e. strikethrough text.


You can try to run the following code to display strikethrough text in HTML −

<!DOCTYPE html>
      <title>HTML strike Tag</title>
      The HTML strike tag renders a <del>strike</del> through the middle of the text.