Home  >  Article  >  Web Front-end  >  Display strikethrough text in HTML

Display strikethrough text in HTML

王林
王林forward
2023-09-04 08:13:08765browse

Display strikethrough text in HTML

HTML Marker specifies strikethrough text. This tag is now deprecated, please use instead. The HTML tag is used to mark deleted text, that is, strikethrough text.

Example

You can try running the following code to display strikethrough text in HTML -

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

The above is the detailed content of Display strikethrough text in HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete