freeCodeCamp's Applied Visual Design, Use the s Tag to Strikethrough Text

Lesson Summary

In this lesson from the Applied Visual Design Section of freeCodeCamp, we look at the "s" tag. The "s" tag allows us to put a line through text when that text may no longer be valid. A good example of this would be a news article. The original might contain a false quote or a typo. Deleting the news article would be improper so we simply strikethrough the text to show that text was invalid. Using the "s" tag is the same as applying the text-decoration style and giving it a value of line-through. Use the "s" tag when you want to update no longer valid text on a page.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required