INTRODUCTION


Introduction of HTML

What is HTML?

HTML is a language made for creating the web pages for the websites.

By using HTML language the even a child can make his web pages or even his own website so why not you?

Introduction of HTML

Why do Need HTML?
As the HTML is a very easy language for creating the
 web pages. It can be learned in few hours or in few days.
 It is the basic format of the HTML file it can be displayed
 on mostly operating system which supports the web browser.


With the help of HTML you can easily create a webpage.


Basics of HTML

What is an HTML File?

1. HTML stands for Hyper Text Markup Language.

2. An HTML file is a text file containing small markup tags.

3. The markup tags tell the Web browser how to display the page.

4. An HTML file must have an htm or html file extension.

An HTML file can be created using any simple text editor like "Notepad" of the Microsoft Windows.


The HTML file can be divided into the three parts:
HTML Header
HTML Body
HTML Footer

So let us see the Body of the HTML File:

HTML Header is the top most part of the HTML file in this section of the file we define the header of file and also Title of the file can be provided.

HTML Body is the middle part of file, in this section we define all text and elements which is to displayed on web page.

HTML Footer is the end section of the file.

How To Write a HTML File
To write a HTML file you need an text editor, open the text editor and start writing file as given below:

Steps to write a file & view the web page:
1. Open the text editor (e.g. notepad).

2. Write the above file in it OR copy the above file and paste it on the notepad.

3. Save this file as .htm or .html file extension (e.g. <filename>.htm , .html).

4. Now open the Internet Browser and open the saved file.

5. Now you can see your web page.

The file starts from an <html> tag and ends with the </html>. <html> tag identifies that it is an HTML file. <html> is also called as open tag and it also need its closed tag which is </html>. Between these tags we will define the Header of the file, so add the <head> tag and below it write to close <head> tag.

More to display the Title to the Web Browser use the special tag <title> write here title </title>. Text written between the <title> & </title> tag will be displayed as the header of the your web page. The important tag is <body> tag. Whatever you want to display on the web page you must write it in between <body> & </body>.


Comments

Popular posts from this blog

Multimedia

1.Introduction of HTML

HTML Lists