Search results
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
- Span
W3Schools offers free online tutorials, references and...
- Try It Yourself
The W3Schools online code editor allows you to edit code and...
- Span
Feb 12, 2020 · In modern HTML, namely HTML5, we use the shorter <s> tag instead. The strikethrough in the example above looks like this: <s> $249 </s>.
- Coloring Text in Tag
- Text Layout Styles For Tag
- Other Properties Worth Looking at For Tag
Sep 30, 2024 · However, this tag is deprecated as of HTML5 and is no longer supported by most browsers. Therefore, you should avoid using it in your own code. Creating a Strikethrough With HTML
Jul 26, 2024 · Baseline Widely available. 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.
Jul 7, 2019 · Code Example Output Rule. Here’s how I remember which to use. If the content represents something deleted, use <del>.And for all other instances, use the <s> 👍. Using <del> with <ins>. Here ...
People also ask
Is strike> supported in HTML5?
What does strike> mean in HTML5?
How to create a strikethrough in HTML?
What is HTML5 & how does it work?
How to add a strikethrough effect in CSS?
What is the strike> tag?
HTML5 is the latest version of the language that built the web. The fifth revision of HyperText Markup Language (HTML) continues HTML’s evolution to a dynamic scripting language. In its early days, HTML was used to present static content, like text, images, and tables. Since the arrival of Web 2.0, and the explosion of interactivity and ...