LESSON 04 – HTML TAG REVIEW

 

This information is simply review of material that you should already be comfortable with.

 

TAG NAME, TAG ATTRIBUTE, ATTRIBUTE VALUE

 

All tags have a name.  The name is simply the first work (no spaces) that appears in the tag.

 

A tag can have zero, one or more attributes.  In most cases, the attributes are optional.  The attributes can always be placed in any order.  A simple space separates all attributes.

 

Each attribute is given a value.  The value is usually placed inside quotes.

 

EXAMPLES

 

The font tag can have several different forms.  It all depends on which attribute of the font that we want to change.  All of these are examples of the font tag being used:

 

<font size="6" color="blue"> ... </font>

 

<font size="2"> ... </font>

 

<font color="red"> ... </font>

 

<font face="arial"> ... </font>

 

The two following uses are identical:

 

<font size="6" color="blue"> ... </font>

 

<font color="blue" size="6"> ... </font>

 

RESEARCHING A TAG

 

You can easily research any tag by simply typing its name and “html tag” in google.  You will immediately find sites that give you examples and well as lists of attributes and possible values for those attributes.