HTML Del Tag


Today we will learn about HTML Tag and how it is used. Delete tag is used to represent a series of deleted/removed text from a document. It is used as a markup for deleted content. The browser usually renders the line by striking out the deleted text, although this can be changed using the CSS property.

HTML Tag

Example1:-


   
   
   HTML Del tag  
   
   
   

Example of HTML Del tag

I LOVE YOU

I LOVE YOU

Output:-

HTML Del Tag with CSS Property

Example2:-


   
   
   HTML Del tag  
   
   
   
   

Example of HTML Del tag

I LOVE YOU

I LOVE YOU

Output:-

Note:- To identify the deleted text and inserted text use tag with which will display deleted and inserted text in a document.

Attributes

cite

DateTime

HTML Mark Tag

HTML  Tag

The HTML  Tag is a very useful Tag. HTML  Tag is used to highlight some text part inside another element such as paragraph, reference, or for any notation purpose.

This is a newly added tag and introduced in HTML5.

In most browsers, text with a  Tag renders with a yellow background, but this can be changed color using the CSS background-color property.

Example:-




  
  HTML Mark Tag

 

  

This is HTML Mark Tag

This Is Mark Tag Example

Output:-

This Is Mark Tag Example

HTML S Tag

HTML Tag

The HTML Tag is used to represent text that is no longer accurate or relevant in some way. Meaning text written between the (start) and (end) Tags to form a line on the text, renders as a strike through the text.

Note:- Don’t get confused with and Tags because is used for text that is removed or removed from the document and represents text that is no longer accurate.

Example:-




    
    HTML s tag



This is HTML s Tag Example

My Name is Khushal.

Only 50 tickets left!

SOLD OUT!

Output:-

My Name is Khushal.

Only 50 tickets left!

SOLD OUT!


Leave a Comment