How to strike through your text

Larn’in, learning, all the time, all this learning.  It’s enough to make you forget to get Oldtimer’s disease :)

Decided I wanted to make some change in a post over at my Blogger.com weblog by adding a strikethrough or line through some text.  As that’s not something I do everyday, I thought I remembered the HTML code was <s></s> but thought I’d better do a quick check.

Well, that was the code back when I learnt’it but now the HTML code is <del>.

In my WordPress wysiwyg HTML editor, I have an option to choose that same strike through text so, just now, I did.

WordPress presents the code by declaring it a CSS style which is, of course, the preferred way today.  The code is <span style=”text-decoration: line-through;”>line through</span>.

Maybe I’d better take a basic HTML class again if I wannabe a web designer, huh?

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)