FORMATTING TEXT IN WEB DESIGNING
If we are creating a website it must look attractive so that people should visit our website.For making our website look attractive we have some formatting tags in HTML.By using
these tags we can format the content we are providing on our webpages. There are lots of
formatting tags in web designing we will be studying some of them here.
BOLD TAG
Bold tag in web designing is used for making text look bold than other text.Bold tag isused with angled brackets <b>. Bold tag is a paired tag so it have a end tag also which
is written with a slash and angled bracket </b>. Bold tag can be used to highlight the important terms in your content.
EXAMPLE
<b> HELLO </b>
RESULT WILL BE DISPLAYED AS:- HELLO
ITALIC TAG
Italic tag in web designing is used to change the format of simple text into italic style .italic tag is used to make text look different and more attractive.italic tag is a paired tag
<i> </i> so it is used with a closing tag.
EXAMPLE
<i> HELLO </i>
RESULT WILL BE DISPLAYED AS:- HELLO
UNDERLINE TAG
Underline tag is used for underlining the text. This tag can be used to underlineimportant text in our content and highlight it. Underline tag is a paired tag <u> </u>
so it is used with an end tag.
EXAMPLE
<u>HELLO </u>
RESULT WILL BE DISPLAYED AS:- HELLO
BREAK TAG
Break tag in web designing is used for giving break between two different lines. It isused for displaying text in different lines. It is not a paired tag <br> so it do not have
any end tag. Without break tag lines sometimes on browser are displayed in a single
row following one another. Which makes our content look messy and unorganised.
EXAMPLE
HELLO <br>
I AM HUMAN<br>
WITHOUT USING <br> TAG THIS CONTENT WILL BE DISPLAYED AS:-
HELLO I AM HUMAN
BUT AFTER USING <br> TAG RESULT WILL BE DISPLAYED AS:-
HELLO
I AM HUMAN
SUPER SCRIPTED TAG
Super scripted tag in web designing is used for writing superscripted text becausenormally browser is not able to display superscripted text. Super scripted tag is used
as <sup> </sup>. Super scripted tag is a paired tag so it have a closing tag also.
EXAMPLE
H<sup>2 </sup>0
WITHOUT USING <SUP> TAG BROWSER WILL DISPLAY CONTENT AS:-
H20
BUT AFTER USING <SUP> TAG IT WILL BE DISPLAYED AS:-
H2O
SUBSCRIPTED TAG
Subscripted tag in web designing is used for writing subscripted text because normally browser is not able to display subscripted text.subscripted tag is a paired tag <sub></sub> so it is used with a end tag.
EXAMPLE
NH2
WITHOUT USING <SUB> TAG BROWSER WILL DISPLAY CONTENT AS:-
NH2
BUT AFTER USING <SUB> TAG IT WILL BE DISPLAYED AS:-
NH 2