In this Chapter we see about the tags in html

1.First Tag
 DOCTYPE
Doc type is a define DTD .DTD
is a document type definition.It is used in advanced versions in html.It is also called as indication of html version document.just define it,We will explained detail  in finish HTML chapter It is declaring <!DOCTYPE>no closing tag

2.HTML
In this Html tag  just defining html language in a program
It is Compulsory tag in html

Syntax:
<HTML>
<body>
statements
</body>
</HTML>

In HTML language is not case sensitive.It can declared in capital or small letters.
3.Head 
This Tag Defining the title of the webpage It is a Optional tag in html
eg Picture:

 
 
In face Book is a title of webpage 
 
 
Syntax;
<html>
<head>
<title>name of  the webpage</title>
</head>
</html>
4.Body 
It is inserted a text in webpage .
eg:
Searching ajith in Wikipedia show the description of ajith .This description  is called body of webpage
 
Syntax
<html>
<body>
Description
</body>
</html>
 
 
Example Program for  creating simple webpage in html 
 
<!DOCTYPE>
</html>
<head>
<title>facebook</title>
</head>
<body>
facebook is a social network
</body>
</head>
</html>
 
Output:
 
 
How to execute html
 
Method1:
1.Type the HTML Program in notepad
2.save as filename.html
3.open from the any webbrowser
 
Method 2 :
 
To Execute online click here
Type the Program in first  box 
Second box shows the output of the html
 
 
 
 

In this Chapter we see about the tags in html

1.First Tag
 DOCTYPE
Doc type is a define DTD .DTD
is a document type definition.It is used in advanced versions in html.It is also called as indication of html version document.just define it,We will explained detail  in finish HTML chapter It is declaring <!DOCTYPE>no closing tag

2.HTML
In this Html tag  just defining html language in a program
It is Compulsory tag in html

Syntax:
<HTML>
<body>
statements
</body>
</HTML>

In HTML language is not case sensitive.It can declared in capital or small letters.

3.Head 
This Tag Defining the title of the webpage It is a Optional tag in html
eg Picture:

In face Book is a title of webpage 

Syntax;

ce4e51639e63ccb04aae2c9071d27384

4.Body 

It is inserted a text in webpage.

eg:

Searching ajith in Wikipedia show the description of ajith .This description  is called body of webpage

Syntax

08ea6a4f90e7638523796a6933844cbb

Output:

How to execute html  

Method1: 1.Type the HTML Program in notepad

2.save as filename.html

3.open from the any webbrowser  

Method 2 :   To Execute online click here Type the Program in first  box  Second box shows the output of the html