It’s been a very busy past few days. Today I thought I would bring you all a quick blogging tip. Today’s blogging tip is on how to strikethrough (strike-through) text.
The html tags to show a strike-through a word are <strike> and </strike>.
Ex: <strike>Your strikethrough text</strike> would look like Your strikethrough text.
You can also achieve the strikethrough effect by wrapping whatever part of your text you want strikedthrough in ’s’ tags which look like this: <s>Your strikethrough text</s>.
Note that the <s> and <strike> elements are not supported in XHTML, therefore you may want to use <del> instead.
Ex: <del>Your strikedthrough word </del>
In CSS the code is <span style=”text-decoration: line-through;”> Word to strike through</span>
I hoped you enjoyed this blogging tip. Let me know if you would like to see other short tips like this.
If you liked this post, why not buy me a coffee?



























7 responses so far ↓
Wrote: Nov 28, 2007 at 11:40 am
Yes, I like these type of tips. Especially since I am fairly new to blogging.
Wrote: Nov 28, 2007 at 6:06 pm
WordPress has a capability feature that allows you to click a button if you’re using their visual editor, which I’m not because it messes up the formatting I want for my posts.
I don’t often use the strikethrough feature, though. I generally just delete the original text.
Take care!
Wrote: Nov 29, 2007 at 1:05 am
Excellent tip thanks to you I learned something new thanks my friend:)
Wrote: Nov 29, 2007 at 8:00 pm
Blogging tips are always welcome! I’m just getting mine started and need all the help I can get
Wrote: Dec 2, 2007 at 10:26 pm
So cool Rose I have often wondered how it was done, thanks again:!:
Wrote: May 13, 2008 at 2:21 pm
Thanks. I really appreciate the tips. I am enjoying your blog.
Wrote: Aug 20, 2008 at 3:58 am
have a nice day ya