Web Programming and computer Blog
Latest news

Main Menu

Html Tags List
Meta Tags
Headings
Backgrounds
Inserting text
Text Manipulation
Linking
Images
Tables
Forms
Color Chart
Frames
Example Web Pages
Contactus


Text Manipulation

After you have finished writing all the content of your website, it’s the time to make it look it better. Manipulating and formatting the text in the right way will be like an eye-candy for your website’s visitors.

 

● Text Formatting:

▪ Bold: you can make text bold by adding these tags <b></b>

 

<b>Sample Text</b>

 

▪ Underlined: you can make text underlined by adding these tags <u></u>:

 

<u>Sample Text</u>

 

▪ Italics: you can make text italics by adding these tags <i></i>:

 

<i>Sample Text</i>

 


 

● Text Alignment:

▪ To justify the text into the left, right or center you should use the “align” attribute inside the <p> tag, using right/left/center. 

 

<p align=”right”>Text 1000</p>

 

▪ Another method for centering a text is using <center> tag:

 

<center> Text 790 </center>

 

▪ If the text contains quotes, there is a suitable tag that indent the text from the left and right to make it look different than the rest of the text. This tag is <blockquote>:

 

<blockquote>”To be or not to be. This is the question.”</blockquote>

 


 

Text size:

To change the size of the text, we will need to use <font> tag inside the paragraph <p> tag, with the size attribute value.

 

<p><font size="4">Welcome to my website</font></p>

 

Welcome to my website

 

This will change the font size of the color 4 sizes up.

 


 

Text Color:

To change the size of the text, we will need to use <font> tag inside the paragraph <p> tag, with the color attribute value.

 

<p><font color=red">Welcome to my website</font></p>

 

Welcome to my website

 

This will change the font color (usually from black) to red.

 

▪Color value can be text, hexadecimal or RGB.

 

Ads

Html Help
Daily Pages that Suck

04/18/2006 10:19 PM
Coding "Best Practices"--or at least "Better Practices"
Following these simple guidelines will help make your scripts easier to understand and maintain, more bug-free and save you time.
04/18/2006 10:19 PM
Intro to Databases
A quickstart guide to working with databases for beginners, covering basic concepts, simple SQL, and working with databases in PHP either natively or with PEAR DB.

© 2005 Htmlhelps.net, Inc. All rights reserved. Terms of Use and Disclaimer