::text manipulation::

 What is it?
Text manipulation is basically what it is - manipulating text. The closest parrallel I can think of is when you format a document in Word (or an equivalent program). Making text bold, italic, underline, adding enters to distenguish paragraphs etc. Obviously, its rather different - Word, being a WYSIWYG (What You See Is What You Get) is in a way easier to use - and HTML is definately not a WYSIWYG. Below, I'll introduce you to the most used text manipulation tags.

 Bold, Italic, Underline

The Tags <b> , </b> <i> , </i> <u> , </u>
What it does Makes text bold Makes text italic Underlines text
Why <#> bold italic underline
Variation <strong> <em> -
Syntax <b> text </b> <i> text </i> <u> text </u>

The above table containes the 3 most basic commands: Bold, Italic and Underline.

 General Font Manipulation
For general font manipulation you will need to use the font tag. The font tag, has three attributes that will allow you to change the size, colour and font face of your text.

  <font color="#1F930D">text</font>
The color tag will allow you to change the colour of your text but you will need to provide specific colour for your text. It is best given with HEX colours such as #FF9919, #000066 and #E459F0 (The default colour is black - #000000).
NOTE: For people like me, who spell colour with an 'u', becareful - HTML tags follow American spelling, so no 'u' in colour.

  <font size="3">text</font>
The size tag allows you to change the size of your font, from 1 being the smallest to 7 being the largest. These will change as people change their "View -> Text Size" option in IE.

  <font face="verdana, tahoma, arial, times new roman">text</font>
The face tag is a wondeful tag that will let you change the font type. You can chose from pretty much any font that's available - but if people don't have that type of font in the computer they won't be able to see it.

All of these commands can be declared separately - as shown above, or they can be declared together. To declare them together its easy you just place the properties (color, size , face) into one font tag (order does not matter). For example:
<font size="3" face="Verdana">text</font> - this will give you Verdana font size 3 - it will also be black as black is the default colour.
<font size="7" color="#3DA1FF">text</font> - this will be font size 7 with this colour. The font face will most likely be Times New Roman.

 

Close Window