Ads

Breaking

Wednesday, July 22, 2020

What is Subscript text in HTML | how to use subscript text in HTML

1. Open your text editor .

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


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


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


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


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


No comments:

Post a Comment