How to define the text that is no longer correct in HTML5 ?
In this article, we will learn how to define the text that is no longer correct in HTML5. Before starting this content we assume that you have a basic knowledge of HTML.
Approach 1: To do this we are going to use the <s> tag. <s> tag is an HTML tag that is used to specify the text that is no longer correct, accurate or relevant. This tag should not be used to define the deleted text in a document for this we use the <del> tag.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
<s> write some text here </s>
Approach 2: We can perform the same task by using text-decoration property in CSS. This property specifies the decoration added to the text.