View Full Version : A question concerning HTML
Electron
11-27-2005, 07:55 PM
Sorry, I know this is a dumb question but I didn't find the answer with google.
What is the HTML tag for putting a horizontal slash through the desired text? Thanks in advance.
Virtual Headache
11-27-2005, 07:57 PM
<hr>
That's it.
En-Cu-Kou
11-27-2005, 08:37 PM
If you want to strike through text with plain HTML, you may want to use <strike> or <s> (which are synonyms).
If you want to be really cool, nowadays the preferred form is through CSS: <span style="text-decoration:line-through;">
Virtual Headache
11-27-2005, 08:38 PM
Oops, I misread your post.
ECK is right.
JKaizer
12-01-2005, 02:18 AM
<span style="text-decoration: line-through;">Text</span>
A space is always good :p
corral
12-03-2005, 01:37 AM
If you want to strike through text with plain HTML, you may want to use <strike> or <s> (which are synonyms).
If you want to be really cool, nowadays the preferred form is through CSS: <span style="text-decoration:line-through;">
cool effect ECK
howd you do it through last edited by though.....
Arielle
12-03-2005, 01:27 PM
cool effect ECK
howd you do it through last edited by though.....
<span style="text-decoration:line-through;"> <-- end of the post
He didn't end his span tag, so it kept going, I think ._.; I just tested it, and it kept going, even though I hadn't closed my tag.
I always use <s>; I never really learned the CSS way of doing it XD
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.