• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql
You are here: Home / HTML / Tags / HTML S Tag

HTML S Tag

August 10, 2013 by techhoneyadmin

HTML S Tag <s> is used when we want to render a strikethrough text on a browser.

Any text within the HTML S tag <s> will be rendered as strikethrough, a strikethrough text is the one in which there is a cut like line passing through the text.

S tag <s> is a closed tag and needs a closing HTML S tag </s>


Syntax of HTML S Tag

<s>
Some text here
</s>

Example of HTML S Tag

HTML S Tag Code Output
<p> <s>I have a black dog. </s></p>
<p> Now I have a new fawn dog </p>
I have a black dog.

Now I have a new fawn dog

In the above S Tag output we can see that the text “I have a black dog” is being rendered as cut or strikethrough because we have wrapped it within the HTML 5 S tag.

HTML S Tag Supports all HTML Global Attributes and HTML Event Attributes.


HTML S Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: How to use S tag in html, How to write strikethrough text in html, HTML S Tag, HTML S tag example, HTML S tag syntax, HTML Strikethrough text, HTML Strikethrough text syntax and example, HTML tag S, HTMLSTag, S HTML tag, Strikethrough text HTML, Syntax and example of HTML S tag, Tag S HTML, Text Strikethrough html, Using s tag in html, What is the use of S tag in html, Writing strikethrough text in html

Copyright © 2023 · Parallax Pro on Genesis Framework · WordPress · Log in