TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML s Tag

HTML s Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <s> tag

HTML <s> tag is used to represent the range of content which is no longer accurate or relevant in some way. The text written between <s> (start) and </s> (end) tag, renders as a strike a line through the text.

Note: Do not confuse with <del> and <s> as <del> is used for the text which is deleted or removed from document and <s> represent the text which is no longer accurate.

Syntax

     <s> Write your content here.....</s>

Following are some specifications about the HTML <s> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Formatting

Example

<!DOCTYPE html>
<html>
<head>
	<title>HTML s tag</title>
	<style>
		body{
		text-align: center;}
		s{
		color: green;
		}
	</style>
</head>
<body>
<h2>Example of s tag</h2>
<p><s>The last date of apply for online classes is 12/02/2019</s></p>
<p>The last date of apply for online classes is 13/03/2019</p>
</body>
</html>
Test it Now

Output:

HTML s tag

Attribute:

Tag-specific attributes:

The <s> tag does not contain any specific attribute.

Global attribute:

The <s> tag supports the global attributes in HTML

Event attribute:

The <s> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<s>YesYesYesYesYes
Next TopicHTML samp Tag




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf