Bookmark and Share

HTML - Strikethrough

To place text onto your site that appears to be crossed out, we use the <del> tag.

Advertise on Tizag.com

HTML Code:

<p>This text is <del>scratched</del> out!</p>

Strikethrough:

This text is scratched out!

HTML - Check Off Tasks

Here's an example of a web developer checking off tasks as they are performed.

HTML Code:

<ol>
<li>Clean my room</li>
<li><del>Cook Dinner</del></li>
<li><del>Wash Dishes</del></li>
</ol>

To Do List:

  1. Clean my room
  2. Cook Dinner
  3. Wash Dishes
Bookmark and Share


Tips

  • Place the del tags inside your links or anchor tags for a unique look.


Found Something Wrong in this Lesson?

Report a Bug or Comment on This Lesson - Your input is what keeps Tizag improving with time!

Advertise Here

More Tutorials!
Microsoft Office Tutorials Artist Tutorials