Copied successfully!
Introduction to <strike>
tag
The <strike>tag in HTML, also known as the "strikethrough" or "struck text" tag, is used to represent text that has been "struck out" or is no longer relevant. This tag visually displays text with a line running through it, indicating that the text has been removed, deleted, or is incorrect. Warning: The <strike>tag is deprecated and no longer part of modern web standards. It should be avoided in contemporary web development practices. The <strike>tag was used to display text with a strikethrough effect, but this approach is outdated. Instead, use CSS with the text-decoration property set to line-through to achieve the same visual effect. This method is more flexible and aligns with current best practices in web development, ensuring your website's content is styled consistently and accessibly across all browsers. Deprecated: This feature is no longer recommended for use but while some browsers might still support it but it may have already been removed from web standards or it could be in the process of being phased out, it might only be retained for compatibility with older web projects and it's advisable to avoid using this feature and update your existing code wherever possible, refer to the compatibility table below for guidance and keep in mind that the feature may stop functioning in the future.
HTML Attributes | Global Attributes | Event Attributes |
---|---|---|
To view the full list | To view the full list | To view the full list |
elements | |||||
---|---|---|---|---|---|
<strike> | No | No | No | No | No |
Improve Our Platform
Did you find what you were looking for?
Learn how to contribute.Last updated on by our contributors.
View this page on GitHub• Report an issue with this content