How to Mark Strikethrough Text in HTML? Last Updated : 15 Nov, 2024 Summarize Comments Improve Suggest changes Share Like Article Like Report Strikethrough text is a visual formatting style where a horizontal line is drawn through characters. For example, Strikethrough Text. It is commonly used to indicate that text is no longer valid, has been deleted, or that changes or corrections have been made. 1. Strikethrough Text using <s> TagThe <s> tag renders text with a strikethrough effect. The <s> tag defines text that should be presented with a strikethrough effect. HTML <p> GeeksforGeeks is a <s>Math</s> Computer Science Portal. </p> Output Strikethrough Text2. Strikethrough Text using <del> TagThe <del> tag is used to indicate deleted text, typically rendering it with a strikethrough effect by default. The deleted text is rendered as strike-through text by the web browsers. HTML <p> GeeksforGeeks is a <del>Math</del> Computer Science Portal. </p> OutputStrikethrough Text 3. Strikethrough Text Using <strike> TagThe <strike> tag is a deprecated HTML tag that was used to render text with a strikethrough effect. While it is still supported in most browsers, it is recommended to use the <s> or <del> tags instead. HTML <p> GeeksforGeeks is a <strike>Math</strike> Computer Science Portal. </p> Output Strikethrough Text4. Strikethrough Text using CSSYou can also use CSS to style text with a strikethrough effect, giving you more control over its appearance. To add strikethrough effect on text, text-decoration property is used. HTML <p> GeeksforGeeks is a <span style="text-decoration: line-through;">Math</span> Computer Science Portal. </p> OutputStrikethrough Text Comment More infoAdvertise with us Next Article How to Style Text in HTML? P ppatelkap Follow Improve Article Tags : HTML HTML-Questions Similar Reads How to Style Text in HTML? The HTML style attribute adds styles to an element, such as color, font, size, and more. Here, we are going to learn how to style Text in HTML.These are the following methods:Table of ContentUsing CSS StylesUsing Element for StylingUsing CSS StylesThe <b> tag makes text bold, while <strong 2 min read How to Mark Deleted Text in HTML? In HTML, you can mark text as deleted to indicate that it has been removed from the document. This is often displayed with a strikethrough effect. There are different methods to mark deleted text in HTML, including using the <del> tag, the <s> tag, and the <strike> tag. Table of Co 2 min read How to Strikethrough in Excel Excel's strikethrough formatting is beneficial for marking deleted or outdated cell entries while keeping them visible. It's commonly used to track changes and completed tasks, maintaining a clear record of spreadsheet edits over time. It's often used for tracking changes or completed tasks, visuall 6 min read How To Edit Text in HTML Paragraph? To edit the text in an HTML paragraph, you can do it by directly editing the HTML file or dynamically using JavaScript or by using contenteditable Attributes. Directly Editing the HTML FileThe simplest way to change the text of a paragraph is to edit it directly in the HTML file. This is useful when 3 min read How to Strikethrough on Discord Discord is a popular communication platform that brings people together through voice, video, and text, creating a vibrant space for gamers, communities, and friends to connect. With features like channels, servers, and a variety of text formatting options, Discord offers a dynamic way to interact a 5 min read How to Wrap Text in HTML? To wrap text in HTML, you can use the default behaviour of block-level elements like <p>, <div>, and <h1>, which automatically wrap text to fit within their parent container. For more control over text wrapping, you can use CSS properties like word-wrap, white-space, and overflow-w 3 min read Like