Understanding HTML Tags

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Computer Training and Courses » HTML for Beginners »

HTML is a markup language which uses Tags to design web page. For example HTML tags are like:

<HTML> … </HTML>

<HTML> and </HTML> are called tags. First one is a start tag and second is an end tag. Tags are something like commands in programming languages. <HTML> tag tells the browser that this is start of the HTML and </HTML> marks its end.

HTML code headers

Every html page must have a header. Header contains important information about the page. Different tags are used for different sections of a header. Header of an html page is specified by <HEAD> and </HEAD> tags.
<HTML>
<HEAD>

</HEAD>
</HTML>

We will enter header information between <HEAD> </HEAD> tags.

Title


One of the most important parts of a header is title. Title is the small text that will appear in title bar of viewer’s browser. So html document will be as below.

<HTML>
<HEAD>
<TITLE>Title of your page</TITLE>
</HEAD>
</HTML>

Web page body

Now our web page needs a body in which we will enter web page content. As you may guess we will use these tags:

<BODY> </BODY>

Body will come right after header end tag. So our web page will be something like this:

<HTML>
<HEAD>
<TITLE>My web page</TITLE>
</HEAD>
<BODY>
Welcome to my homepage. Few More text here.
</BODY>
</HTML>
Now type html code in notepad/editplus and save it as “my_page.html”. Then view html file in your browser by double clicking on it in windows explorer.


• • •
 



captcha PHP Script Free PHP captcha script free php
Website Design by WebWalas.com