HTML Cheat Sheet
HTML Help Forum
Link to us
Not all webmaster's can make use of this code, but some can. You may be asking, why would I want to strike out information on my site? Many reasons, one for example, say you have a web site with prices of items on it, later you want to reduce the price's, you can strike out the old price and replace it with the new text. Well whatever the reason be, here’s how to do it.
How to do it
To Strike Out text on your web page, just place a <STRIKE> tag in front of the text you want to Strike Out. Then at the end of the line of text that you want Striked Out, place an ending </STRIKE> tag. Note the / in the ending tag, this tells the browser to stop Striking Out the text. This is important to add, or else the browser wont know where to stop, and Strike Out all the text after the beginning <STRIKE> tag. Get it? Good!
I want to Strike Out the words "John's Home Page" on my web page.
My code would look like this:
Seeing this in the browser will look like this:
© 2001 TheHTMlSource.com, INC. All Rights Reserved.