• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql

Strike HTML tag

HTML Strike Tag

August 10, 2013 by techhoneyadmin

HTML Strike Tag <strike> is used when we want to render a strikethrough text on a browser.

Any text within the HTML Strike tag <strike> will be rendered as strikethrough, a strikethrough text is the one in which there is a cut like line passing through the text.

HTML Strike tag is a closed tag and needs a closing HTML Strike tag </strike>

Note:

  1. Strike Tag is not supported in HTML 5, we have to use the HTML 5 del tag <del> instead.
  2. Also the strike tag is deprecated in HTML 4.0.1.

Syntax of HTML Strike Tag

<strike>
Some text here
</strike>

Example of HTML Strike Tag

HTML Strike Tag Code Output
<p> <strike>I have a black dog. </strike></p>
<p> Now I have a new fawn dog </p>
I have a black dog. Now I have a new fawn dog

In the above HTML Strike Tag output we can see that the text “I have a black dog” is being rendered as cut or strikethrough because we have wrapped it within the HTML Strike tag.


HTML Strike Tag Supported Global Attributes (in HTML 4.0.1)

HTML Strike Tag Attribute Name Value Description
Class classname Indicates a classname for the tag
Dir rtl, ltr Indicates the text direction: right to left (rtl) and left to right (ltr).
Id id Defines a unique id for the tag
Lang language_code Indicates the language code for the language contained within the tag
Style style_definition Indicates an inline style for the tag
Title text Defines additional information about the tag

See all HTML Global Attributes.


HTML Strike Tag supported Event Attributes (In HTML 4.0.1)

HTML Strike Tag Event Attributes Value Description
onclick Script/code Script/code to be executed on mouse click
ondbclick Script/code Script/code to be executed on mouse double click
onmousedown Script/code Script/code to be executed on mouse button is pressed
onmousemove Script/code Script/code to be executed on mouse pointer moves
onmouseout Script/code Script/code to be executed on mouse pointer moves out of the target element
onmouseover Script/code Script/code to be executed on mouse pointer moves over the target element
onmouseup Script/code Script/code to be executed on mouse button is released
onkeydown Script/code Script/code to be executed on key press
onkeypress Script/code Script/code to be executed on key pressed and then released
onkeyup Script/code Script/code to be executed on key is released

See all HTML Event Attributes.


HTML Strike Tag Supporting Browsers

S. No. Browser Supported(Yes/No)
1 Internet Explorer Yes
2 Firefox Yes
3 Google Chrome Yes
4 Opera Yes
5 Safari Yes

Filed Under: Tags Tagged With: How to use Strike tag in html, How to write strikethrough text in html, HTML Strike Tag, HTML Strike tag example, HTML Strike tag syntax, HTML Strikethrough text, HTML Strikethrough text syntax and example, HTML tag Strike, HTMLStrikeTag, Strike HTML tag, Strikethrough text HTML, Syntax and example of HTML Strike tag, Tag Strike HTML, Text Strikethrough html, Using Strike tag in html, What is the use of Strike tag in html, Writing strikethrough text in html

Copyright © 2025 · Parallax Pro on Genesis Framework · WordPress · Log in