Thursday, December 1, 2016

What is tag?

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.

Related Posts:

  • How to Use of HTML?HTML is used for web designing. Webpage is a text file that contains HTML codes (tags). HTML documents are saved with .htm or .html extension.Step 1: Open Notepad (PC) Windows 8 or later: ...Step 1: Open Text Edit (Mac) Open … Read More
  • What is HTML?HTML is a simple scripting language used to create hypertext documents. Hypertext is simply a piece of text that works as a link. Markup language is a way of writing documents. Before HTML, it was SGML (standard generalized m… Read More
  • What is tag?In HTML, all commands (code) are called tags. Tags are not case sensitive. Tag consists of three parts.•        Element (identification of tag)•        Att… Read More