Solution 1 :

You can use <s> element:

Parad<s>o</s>x Jewelz

Or inline-style, or create a css class for letter o only, see the example below

.strikethrough {
  text-decoration: line-through;
}
<p>Parad<s>o</s>x Jewelz</p>

<p>Parad<span style="text-decoration: line-through;">o</span>x Jewelz</p>

<p>Parad<span class="strikethrough">o</span>x Jewelz</p>

Solution 2 :

Use the CSS attribute text-decoration and value line-through.

.strikethrough{
  text-decoration:line-through;
}
<p>Parad<span class="strikethrough">o</span>x Jewelz</p>

Or you can simply use the <s> element

Parad<s>o</s>x Jewelz

Or <strikethrough>, although that’s obsolete (why type more characters when you don’t need to?)

Problem :

I want to do a strike-through text effect for one letter.

How could I achieve that with CSS or HTML?

Comments

Comment posted by minimal reproducible example

Please post your relevant code, as well as an explanation of what you tried and in what way your own code failed. See: “

Comment posted by John

Just use the

By