Wednesday 23 April 2014

HTML BASIC TAGS

In the last tutorial we learn basic definition of of html, tags, element and attributes.
Html is easy of all other language and today i come with the basic tag  of html. It is said by mostly designer the html tags are easy any body can learn it in five minutes.

<html> </html>

Html tag tells the browser that it is an html document. All the html tag describe in the html tag. Each document have an opening tag and closing tag like that <html> </html>

<head>

It is the first tag which is written after the html opening tag <html>. This tag is containing on all information about head section. It is contain on title tag, Meta tags, cascading style sheet (css), JavaScript tags. All the script tag are written in head such as JavaScript, VBScript inside the document.

EXAMPLE


<head><title> this is my first page </title><meta name=’keyword’ content=”html, css, JavaScript” /> (this is  a meta tag)<link rel=”stylesheet” type=”text/css” href=”tutorialworld.css”/><scrip type=’text/javascript’>document.write(“hello world”);</script></head>

<body>

Body is the most important tag which comes after the head tag. It contain of content tags such as hyperlinks, text, images, list, tables, form and frames etc. It is main and important section of page because all the thing which display on webpage written in this section.

EXAMPLE

<html><head><title>body tag</title></head><body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph.</p></body></html>

 Paragraph TAG <p></p>


This tag defines the paragraph in webpage it leaves blank line before and after the paragraph.

EXAMPLE
<body><p>this is paragraph tag which indicate the paragraph in your webpage it leave a blank line before and after the paragraph. </p></body>

HEADING TAGS<h1></h1>

These tags indicate different heading it start from h1 to h6. h1 heading is the bid heading all of them and h6 is smallest.

EXAMPLE


<body><h1>HEADING </h1><h2>HEADING </h2><h3>HEADING </h3><h4>HEADING </h4><h5>HEADING </h5><h6>HEADING </h6></body>

IMAGE TAG <img>

This tag defines html image tage to show the image on webpage.
"src"(source) where is your file locate. It is important write the format image otherwise it will nor show the image.

EXAMPLE


<body><img src="image.gif" /></body>

LINK TAG

Link tag defines the link tag in webpage. It is very important tag because links are important to the webpage and without link tag the
Webpage is incomplet. Link tag is <a href=""></a> (a indicate anchor and href means hyper text reference) and the address of link written between inverted coma.

 FOR EXAMPLE


<body><a href="www.worldoftutorial.blogspot.com">world of tutorial</a></body> 

FINAL WORDS.


In this lesson you learned about basic tags of html and now you have understanding of basic tags. Please share our tutorial with your friends.

0 comments:

Post a Comment