post your comment   print   send to a friend
Rate:   0% | Views: 435
Question categories:  Web Design

LESSON 4

Text And Heading
In this lesson you will learn how to place Headings on your page and how to use the Font Tags.

This Is A Heading
Headings come in six sizes:

<H1>Your Heading</H1>
<H2>Your Heading</H2>
<H3>Your Heading</H3>
<H4>Your Heading</H4>
<H5>Your Heading</H5>
<H6>Your Heading</H6>

Getting Centered
You can center your Heading by nesting it inside a set of CENTER tags, like this:

<CENTER><H1>Your Heading</H1></CENTER>

If you do not indicate in your HTML code that you would like your heading centered, it will, by default, line up with the left side of your screen.

NOTE: You can also center text or images by placing them inside center tags.

Make My Words Pretty
The size and color of text on an HTML document is controlled by using the FONT tag. You can set the text color for the entire page in the body tag, but you can also enclose indivdual words, sentences, or even sections of your page in a FONT tag to make stand out from the norm.

<FONT>  </FONT>

Size and Color
The FONT tag allows you to specify the size and color of the text contained within the tags. Both color and size are attributes. Every attribute must have a value. The value would be the specific color or size you would like your text to display.

<FONT color=red size=3>Your Text</FONT>

In this example, FONT is the tag name, COLOR and SIZE are the attributes; RED and SIZE are the values of those attributes.

You could just as easily use blue or yellow or green as the value of your color attribute. If you want a fairly basic color, you can use the name; however, if you're looking for a specific shade of a basic color then you will ned to use its HEXADECIMAL name/

Hexadecimal Name
Hexadecimal color names are six digit codes used to specify how much of the colors RED, BLUE, and GREEN are in the desired color.Here are the hexadecimal codes for some of the common colors:

#000000

BLACK

#FFFFFF

WHITE

#FF0000

RED

#00FF00

GREEN

#0000FF

BLUE

#00FFFF

CYAN

#A020F0

PURPLE

#FFA500

ORANGE

#FFFF00

YELLOW

#A52A2A

BROWN

You can use the hexadecimal code in place of the color's name in your font tag like this:

< FONT COLOR="#FF0000">Your Text</FONT>

Font Size
Use the size attribute just like the font color attribute, by inserting it into your opening font tag:

<FONT SIZE=5> YOUR TEXT</Font>

When an HTML tag accepts attributes, like the font tag does, you can put all of its attributes in the same tag. So in our font tag, we can put both the size and color attributes like this:

<FONT SIZE=5 COLOR="#FF0000">

There are seven font sizes you can use with 7 being the largest and 1 being the smallest.


Size 1

Size 2

Size 3

Size 4

Size 5

Size 6

Size 7

Customer Feedback
Rate:   0% | Views: 435 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Domain Name Registration | Web Page Design    Back to serch results
Browse the Base
Knowledge Base
Web Design
  Trellix SiteBuilder
  FrontPage
  Professional Design
  Do It Yourself
  WSC Website Builder
Messages
 

Blogging at Aplus.Net

Don't forget to check out our blog ! Keep up to date at Aplus.Net.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. What exactly is HTML?
 
2. What about Hypertext Markup Language?
 
3. What is Body Tag?
 
4. What is a HYPERLINK?
 
5. Why shall I use tables in my site?
 
Related Articles
 

Learning The Basics of Web Hosting.

Web Server Colocation Explained.

Post Your Website Free of Charge.

Choosing A Web Hosting Company.

Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest