Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Strike Element
Strike Element

Strike is a formatting element used to define strikethrough text, strikethrough text means the text is deleted text and it is no longer readable.

Syntax

<stirke>Content</strike>

Or

<tag><strike>Content</strike></tag>


You can apply strike element to any element and use any where within a HTML document.


Example

striked Text


Strike is a pair tag and output of strike element is horizontal line through text like you can see in above example.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Create any HTML element
  • Write some text within it
  • delete two to three words from text using <strike> element

save file with name task.html or task.htm and then open it using any browser and see results.


Solution

Heading 3 with strike element


Don't forget strike is non empty element which means it always comes in pair.