| Home |
| Tutorials |
| Exercises |
| About Us |


Lessons:

Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10


Let me know your comments, opinions, suggestions and questions!

Username:
Comment:


Words of Encouragement:

Practice Makes Perfect, Perseverance makes it wonderful, Enthusiasm makes it the best. - Anonymous


You'll never get what you want if you always let people step over you. - Plankton


Mistakes are meant for learning, not repeating. - Anonymous


Your beliefs don't make you a better person, your behavior does. - Anonymous


Life isn't about waiting for the storm to pass, It's about learning to dance in the rain. - Anonymous


It takes only one person to change your life-you. - Anonymous


Without the rain, there would be no rainbow. - Anonymous


Always forgive, but never forget. Learn from your mistakes, but never regret. - Anonymous



Welcome to the second chapter of my HTML tutorials.

The next lesson is about "Tags." Are you familiar with the term tags? The term tags is commonly used in the social-networking sites such as Facebook and Twitter. In Facebook, we tag our friends in our posts, in our photos, and many more. While in Twitter, they use the term 'tag' when they want a topic to trend. And they commonly use the symbol "#" to indicate the tag.

But what may be the use of the term "tag" in HTML?

Look at the picture below.



You see those written inside the symbols "<" and ">?" Those words inside the symbols are the tags.

    There are two kinds of tags. These are the following:
  1. Container Tags
  2. Empty tags


Container Tags are the kind of tags that is required to have a closing tag. What is a closing tag? Look at the picture above. If you see the symbol "/" inside "<" and ">" then it indicates that the tag you used requires a closing tag.

On the other hand, Empty tags are tags that doesn't require you to put a closing tag. In other words, you don't need to add "/" to close the tag. You don't know some examples of an Empty tag? Don't worry, you will encounter those in the nest lesson.

There is a rule that should be FOLLOWED no matter what when you type the tags. That is, "First In, Last Out."



The body tag came first and then the font tag. When it was closed, the font tag was closed first and the body tag next.
The first in was the body tag, and the last out should be the close tag of body.

Lesson 2 is done! Are you ready to move on to the next lesson? Click Here tomoveon tothe next lesson.