Ads

Breaking

Thursday, July 23, 2020

What is delete text in HTML | How to use delete text in HTML

Delete this tag shows result same as that of strike tag . the tag which is used for this is open delete <del> and close delete </del>

1. Open your text editor .

2. Write basic tags i.e. html , head , body . use title tag to write "delete text example" in head section in order to understand which type of document you have made .


3.Write the paired paragraph tag inside body tag i.e. <p> and </p> and write paragraph you want to show the user in the main browsing area , to show I am writing "this is a paragraph to show delete Text" .


4. Save this file with . html extension . I am saving this file as "delete_text_example.html" .


5. To see the result how this looks like open the saved file in any browser to see the result . In point number 6 we will use <del> tag to see the change in the result .


6. Use delete open and close tag<del> , </del> tag between "this is a paragraph to show delete text" as "this is a paragraph to show <del>delete</del> text".


7. Save the file as "delete_text_example1.html" .


8. Open the saved file in any browser to see the change in the result of delete text tag "<del>" .


No comments:

Post a Comment