Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

HTML <s> Tag

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

This tag is used to specify that the text content is no longer correct or accurate. This tag is similar but slightly different from <del> tag. It is not used to replaced or deletes text but <del> tag is used to replaced or delete the text.
Syntax: 
 

<s> Contents... </s>

Note: This tag is depreciated from HTML 4.1, but it is redefined in HTML 5 using CSS text-decoration property instead. It is used to define the text is no longer correct.
Example: 
 

HTML




<!DOCTYPE html>
<html>
 
        <body>
 
            <h1>GeeksforGeeks</h1>
            <h2><s> Tag</h2>
             
 
<p>GeeksforGeeks is a
                <!-- html <s> tag is used here -->
                <s>computer science</s>
                portal for geeks</p>
 
 
             
        </body>
 
</html>


Output: 
 

Supported Browsers:

  • Google Chrome
  • Edge 12 and above
  • Internet Explorer
  • Firefox 1 and above
  • Opera
  • Safari

 

My Personal Notes arrow_drop_up
Last Updated : 19 Jul, 2022
Like Article
Save Article
Similar Reads