how to use the <del> tag in HTML
HTML del tag is use to show deleted or removed text in document.the browser usually displays text with strike-through line
Syntax :-
<del> text content</del>
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>
<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]
how to use the <del> tag in HTML
Output
Comments
Post a Comment