Ads

Breaking

Wednesday, July 22, 2020

What is Strike text in HTML | How to use strike text in html

1. Open your text editor .

2. Write basic tags i.e. html , head , body . use title tag to write "strike 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 strike Text" .



4. Save this file with . html extension . I am saving this file as "strike_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 <strike> tag to see the change in the result .



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


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


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


No comments:

Post a Comment