top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Strike Out My Text?


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!

Example

I want to Strike Out the words "John's Home Page" on my web page.

My code would look like this:

<STRIKE>John's Home Page</STRIKE>

Seeing this in the browser will look like this:

John's Home Page



< BACK






















Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!