HTML Strike Tag

王林
Release: 2024-09-04 16:31:20
Original
377 people have browsed it

The html has a different set of tags for using the web pages built more attractive, and user-defined requirements have to be satisfied. Every version of the html has a different set of features that should be used, and some of them have deprecated from the older version to the newer version. The same thing is one of the tags in html it specifies through the strikethrough text in html web pages. Now, this tag is already deprecated; now tag is used instead of the tag in html. Mainly in html5, this tag is not useable; instead, it supports ,, or it will use CSS Styles in the document.

Syntax:

The strike tag has the following syntax that will be used in html web pages.

<html>
<body>
<strike>--content--</strike>
</body>
</html>
Copy after login

The above code is a basic syntax; it will use the user contents in the tag in the web pages. It will also use the global attributes in HTML, and also it uses the Event Attributes. In HTML, always the tag comes in pairs and the same general rule is applied always opening and closing tag must be used.

How to use Strike Tag in HTML?

  • Whenever using a strike tag for creating strikethrough text in html, we can also use some CSS style decorations like “linethrough” in the