If you want to centering any content then follow the step by step process to do so :-
1. Open your text editor .
2. Write basic tags i.e. html , head , body . use title tag to write "Centering content 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 paragraph is not in center" .
4. Save this file with . html extension . I am saving this file as "centering.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 <center> tag to check the result .
6. Use pairing center tag "<center>" and write "this paragraph is in center" in between open and close tag.
7. Save the file as "center1.html" .
8. Open the saved file in any browser to see the result of line break tag "<center>" .
Related Post :-
1. Open your text editor .
2. Write basic tags i.e. html , head , body . use title tag to write "Centering content 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 paragraph is not in center" .
4. Save this file with . html extension . I am saving this file as "centering.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 <center> tag to check the result .
6. Use pairing center tag "<center>" and write "this paragraph is in center" in between open and close tag.
7. Save the file as "center1.html" .
8. Open the saved file in any browser to see the result of line break tag "<center>" .
Related Post :-
No comments:
Post a Comment