Applying Strikethrough and Underlining

Strikethrough formatting is typically used to denote text that has changed. For example, if you have marked down the price of an item, you might strike through the original price.

Applying Strikethrough and Underlining

Most Web designers don’t use underlining as a formatting technique because hyperlinks are underlined, and it is considered poor design to confuse your users with text that looks "clickable" but is not. In the example just shown, for instance, you might think that the text Now only $9.99 is a hyperlink, but it’s not; it’s just underlined.

If you simply want to underline or strike through a few words of text in one specific instance, ...

Get HTML and XHTML Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.