HTML Font & Pre Code
How to use <pre> tag in html?
Setting font size and color in html?
This tag is basically used for pre formating.
Any thing You give in between this tag will be displayed exactly as you give.
That is what ever you type, as space, break line etc will be there
<pre> Result :
This is pre formated CODE
This is pre
Only with the help of this tag we can change the color and size of the text.
Font color can be changed by using the attribute "color"Example :
<font color=red> This is red colored text </font>Result :
This is red colored text
Font Size:Example :
<font color=red size=5> This font size is 5 </font> Result :
This font size is 5
Font name can be changed using the attribute "face"Example :
<font face="Monotype Corsiva" size=5> This font type is Monotype corsiva </font> Result :
This font type is Monotype corsiva