

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML <s> Tag
The <s> tag in HTML is used to mark a text that is no longer relevant. This tag was redefined in HTML5 to display a text that is not accurate.
Let’s see an example to implement the <s> element −
Example
<!DOCTYPE html> <html> <body> <h2>Exam Results</h2> <p><s>Result would be announced on 6th June.</s></p> <p>New date for results are 7th June.</p> </body> </html>
Output
In the above example, we have set a text which is no longer relevant−
<s> Result would be announced on 6th June. </s>
The usage of <s> would strike the same text as shown in the above output.
- Related Questions & Answers
- HTML canvas Tag
- HTML caption Tag
- HTML <html> Tag
- HTML <code> Tag
- HTML <datalist> Tag
- HTML <dd> Tag
- HTML <del> Tag
- HTML <head> Tag
- HTML <hgroup> Tag
- HTML <hr> Tag
- HTML <i> Tag
- HTML <section> Tag
- HTML <kbd> Tag
- HTML <Marquee> tag
- HTML <nav> Tag
Advertisements