What is the use of the HTML tag "s" ?

The <s> element is used to identify text that is no longer accurate or relevant. It is similar to, but semantically distinct from, the <del> element which is used to identify document edits. By default, browsers render the contents of an <s> element with a strikethrough.
Code Example:
<p>My favorite species of flamingo is the <s>Lesser flamingo</s> <s>Andean flamingo</s> Chilean flamingo.</p>
Result:
#viastudy

0 comments:

Post a Comment