H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics

ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
Feedback





HTML Font & Pre Code


Topic

How to use <pre> tag in html?
Setting font size and color in html?



Explanation

Pre Formated: <pre> </pre>

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

Example:
<pre>
This is pre     formated               CODE
</pre>


Result:
This is pre     formated              text

Font: <font> </font>

Only with the help of this tag we can change the color and size of the text.

Font Color:
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 Face:
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


others


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links