ad

Thursday, November 13, 2025

how to use the del tag in HTML

 

how to use the <del> tag in HTML 

https://webdesigningtheory.blogspot.com

how to use the <del> tag in HTML 

Example 

<!DOCTYPE html>
<html>
 <body>
  <h2> how to use Inserted  text tag in html</h2>
<p>student learn <del> HTML </del> programming language</p>
    <p> Student learn <del>CSS</del> Programming language</p>

 </body>

</html>

how to use the <del> tag in HTML 

Explain Program

Step 1 ]

<!Doctype html>

<!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

<h2> how to use Inserted  text tag in html</h2>

<h2> ... </h2>

 html has six heading levels <h1> to <h6>.
 <h2> use  subheading to describe  the topic of page.

Step 5]

<p>student learn <del> HTML </del> programming language</p>

<p>  defines a paragraph tag 

normal text plus <del> tag

<del> HTML</del>  HTML is marked as deleted text.

deleted text with strikethrough  line

Step 5]

  <p> Student learn <del>CSS</del> Programming language</p>

<p>  defines a paragraph tag 

normal text plus <del> tag

<del> CSS</del>  HTML is marked as deleted text.
deleted text with strikethrough  line

Step 6]

closing the Tag

</body>
</html>

how to use the <del> tag in HTML 
Output

how to use the del tag in HTML

Related Post :-

what is the strong tag in html

how to create text links in html

No comments:

Post a Comment