|
<STRIKE><S><STRIKE><S>|
I love <S>Jodi</S> <S>Lilla</S> <S>Stacy</S> Maude.
|
I love <STRIKE>Jodi</STRIKE> <STRIKE>Lilla</STRIKE> <STRIKE>Stacy</STRIKE> Maude.
|
| produces | produces |
|
I love
|
I love
|
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>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. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.