html Strike Tag

In the html <strike> tag is used to identify delete text at middle of sentence. In the html is not supported <strike> tag. If you need to delete sentence use instead of <del> tag or use text-decoration: line-through at css.

In the <strike> tag attributes are classname, dir, id, language_code, text and style_definition.

Syntax:

<strike>
   Contents
</strike>

Example Code

PHP Hypertext Preprocessor <strike> or personal home page </strike> is a web development dynamic web scripting programing language which can embedded into the HTML and interacts with databases.

Out Put:



PHP Hypertext Preprocessor or personal home page is a web development dynamic web scripting programing language which can embedded into the HTML and interacts with databases.

In the above example <strike> tag has been added to "personal home page" sentence.





Content