html tutorial - <s> Strikethrough Tag in HTML - html5 - html code - html form

s tag

Learn html - html tutorial - s tag - html examples - html programs

  • <s> tag used to show a text with strikethrough or a line through it.
  • <s> is used to represent things no longer relevant, correct or accurate.
  • This is deprecated now we can use <del> instead.
  • <s> tag supports Global Attributes and Event Attributes.
  • <s> tag belongs to Flow content and phrasing content.

Syntax for <s> tag in HTML:


Differences between HTML 4.01 and HTML 5 for <s> tag:

HTML 4.01

  • <s> tag is deprecated in HTML 4.


  • In HTML 5 <s> tag is used to define the text no longer correct.

Sample Coding for <s> tag in HTML:

Tryit<!DOCTYPE html>
<html >
        <title>Wikitechy s tag</title>
            Welcome to<s>Wikitechy.</s>

Code Explanation for <s> tag in HTML:

Strikethrough <s> Tag Code Explanation

  1. <s> tag used to show the strikethrough text.

Output for <s> tag in HTML:

Strikethrough <s> Tag Output

  1. The word “Wikitechy” is shown in strikethrough format.

Browser Support for <s> tag in HTML:

Yes Yes Yes Yes Yes

Related Searches to strikethrough tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.