Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,130   Yesterday: 1,240   Max: 1,872   Total: 364,530   Current Users : 14 (Member 0) 
HTML RESOURCES

WEBMASTER RESOURCES

WEBMASTER TOOLS

JAVASCRIPT RESOURCES

PHP RESOURCES

MISCELLANEOUT RESOURCES

 

<STRIKE>, <S>

The effect so nice they tagged it twice: <STRIKE> and <S> produce the same result. Both tags cause a line (a "strikeout") to be drawn through the text.

I love <S>Jodi</S> 
<S>Lilla</S> 
<S>Stacy</S> 
Maude.

I love <STRIKE>Jodi</STRIKE> 
<STRIKE>Lilla</STRIKE> 
<STRIKE>Stacy</STRIKE> 
Maude.

producesproduces

I love Jodi Lilla Stacy Maude.

I love Jodi Lilla Stacy Maude.

The strike-out effect can also be done using styles. Set the text-decoration property to line-through. So, for example, this style rule creates a class named gone in which the letters are struck out:

<STYLE TYPE="text/css">
<!--
.gone
{
text-decoration:line-through;
}
-->
</STYLE>

We can then apply the gone class to any HTML element. For example, this code creates an <EM> element with the gone class:

this code produces this
Really, the only girl for me now is 
<EM CLASS="gone">Janet</EM> 
Bebe.
Really, the only girl for me now is Janet Bebe.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.