Thursday, September 30, 2010

HTML Basics

The HTML document must starts with< Html > and ends with</ Html> .It is used to identify an HTML document.The entire document should be written with inside< Html > ..</ Html>
tags.

Tags

All tags have the same format: they begin with a less-than sign "<" and end with a greater-than sign ">".

There are two kinds of tags
1. opening tags: example < Html >
2. closing tags: example </ Html>

The only difference between an opening tag and a closing tag is the forward slash "/".


HTML Comprises two major elements.
1.Head
Head tag: < Head >.....< /Head >
Title of he document will come here.
2.Body
Body Tag:< Body > .....</ Body >
Body will contain the entire content of a web page.


Example 1:

< Html >
< Head >
< Title >Hello HTML</Title>
< /Head >
< Body >
< P >Hello World! < /P >
</ Body >
< /Html >


Title:

TAG:< Title > ...< /Title >
Title tag is used to put the name of your page into the top of the browser.
It starts with< Title > and ends with< /Title > .In-between the tag we can give the title.

Paragraph :

TAG:< P > ...< /P >

It starts with < P > and ends with < /P >.In between the tag we can give the text.


HTML comment:
Comments are ignored by the browser and are not displayed.There is an exclamation point after the opening bracket, but not before the closing bracket.
TAG:<!--........... -->

Example:
<!--This is a comment. -- >


No comments:

Post a Comment

Send your Design, Code or any other Creations to qualitypointmail@gmail.com for showing them here. You can mention your contact details(email id, phone) also

If you are an Expert, you can give review comments or feedback to show your skills

This blog will help you to get more opportunities as this blog will be linked to our other blogs and sites which attract more visitors.

A Good Beginning Is Half Done

Start Freelancing