Monday 4 February 2013

Basic html Tags

Basic Tags

Tags are elements of the HTML language. Almost every kind of tag has an opening symbol and a closing symbol. For example, the <HEAD> tag identifies the beginning of heading information. It also has a closing tag </HEAD>.

<HTML></HTML>

This element tells browsers that the file is a HTML document. Each HTML document starts with the tag <HTML>. This tag should be first thing in the document. It has an associate closing tag </HTML> which must be the last tag in the file.

<HEAD></HEAD>

The head contains important information about the document.

<TITLE></TITLE>

The title tag is an important tag. It is used to display a title on the top of your browser window. Both the opening and the closing tags go between the head tags.
The following example shows how to use the tags:
<html>
<head>
<title>HTML For Beginners</title>
</head>
<body>
</body>
</html>

<META>

Another tag that can be added in the head is a <META> tag. It is used to help search engines index a page. There are several different meta names.
The author meta:
<META NAME="author" CONTENT="iTech College">
The description meta:
<META NAME="description"
CONTENT="A very easy tutorial for HTML beginners">
The keyword meta. Note that always seperate Keywords with a comma:
<META NAME="keywords"
CONTENT="html,tutorial,beginner,web design">
The following example shows how these tags are coded:
<head>
<title>HTML For Beginners</title>
<meta name="Author"
content="iTech College">
<meta name="Description"
content="A very easy tutorial for HTML beginners">
<meta name="Keywords"
content="html,tutorial,beginner,web design">
</head>

<BODY></BODY>

The Body Tag is used to identify the start of the main portion of your webpage. Between <BODY> </BODY> tags you will place all images, links, text, paragraphs, and forms. For example:
<body>
Free Web Design Courses from www.itechcollege.com
</bofy>
We will explain each tag that is used within the body of the HTML file.

Topics:

Basic Tags
Character paragraph and positions tags
Styles Tags
Lists Tags
Links Tags
Images Tags
Color
Table
Form
Frames


No comments:

Post a Comment