W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy. Show Copyright 1999-2022 by Refsnes Data. All Rights Reserved. Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the
compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. The Warning: This element is deprecated in HTML 4 and
XHTML 1, and obsoleted in the HTML Living Standard. If semantically appropriate, i.e., if it represents deleted content, use AttributesThis element includes the global attributes. Example
The result of this code is: Specifications
Browser compatibilityBCD tables only load in the browser See also
The This element only includes the global attributes.
Accessibility concernsThe presence of the
Some people who use screen readers deliberately disable announcing content that creates extra verbosity. Because of this, it is important to not abuse this technique and only apply it in situations where not knowing content has been struck out would adversely affect understanding.
Specifications
Browser compatibilityBCD tables only load in the browser See also
How do I cut text in HTML?The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate.
Which tag is used to cut the text in HTML?The <strike> tag defines a strike or line through Text. This tag creates a cut line in the text.
How do you cut a paragraph in HTML?HTML Line Breaks
The HTML <br> element defines a line break.
|