In HTML, all commands (code) are called tags. Tags are not case sensitive. Tag consists of three parts.
• Element (identification of tag)
• Attribute (property of tag)
• Value (value assigned for attribute)
For example:< body bgcolor=”red”>
Body= element
Bgcolor=attribute
“red”=attribute value
Types of tag:
• Empty tag (single tag)
These types of tag doesn’t have it’s ending tags like:
<br>, <!>, <hr>
• Container tag (pair tag)
Tags with starting and endings are called container tag.(/)
For example:
<HTML>
<HEMD><TITLE>My Home Page
</TITLE>
</HEMD>
<BODY>
Hi every body <BR>
Good morning
</BODY>
</HTML>
The <HEAD>secession
It is used deserve about the holl page. It deserve and give information to view about the manger tags.
Title secession
The <title> is used to define title of webpage to give information about the webpage. It is return in side title and title close tags.
Body secession
The body secession displays the all texts, image, audio sounds video over the documents. We can decoration sours (tags, image, songs, video songs) in side the body and body close tags.
Background color: <BGCOLOR> tag
The bgcolor tag used to especial background color of webpage. There are to way.
1.frist way: the first way is used to apply value of <bgcolor> attribute like name ex: red, black, green, blue, white, yellow, aqua, pure, pink, sky blue etc.