An introductory tutorial of HTML for those who want to learn how to create Web pages and their own websites. Even a child can make his own web pages or even his own website by using 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.
Here are some facts about the HTML language:
By using HTML language the even a child can make his web pages or even his own website so why not you.
Here are some facts about the HTML language:
Introduction to 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.
Here are some facts about the HTML language:
Why do Need HTML By using HTML language the even a child can make his web pages or even his own website so why not you.
Here are some facts about the HTML language:
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.
You do not have to worry it is all easy to make like this type of pages.
Just follow these chapters which will help you to make your own Web Pages with in some seconds.
1]Basics of HTML
What is an HTML File?
· HTML stands for Hyper Text Markup Language.
· An HTML file is a text file containing small markup tags.
· The markup tags tell the Web browser how to display the page.
· An HTML file must have an htm or html file extension.
· An HTML file is a text file containing small markup tags.
· The markup tags tell the Web browser how to display the page.
· 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.
First of all let me explain the above web page and how it is created, how easily it can be created.
HTML Header
HTML Body
HTML Footer
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:
· Open the text editor (e.g. notepad).
· Write the above file in it OR copy the above file and paste it on the notepad.
· Save this file as .htm or .html file extension (e.g..htm , .html).
· Now open the Internet Browser and open the saved file.
· Now you can see your web page.
The file starts from an tag and ends with the . tag identifies that it is an HTML file. is also called as open tag and it also need its closed tag which is . Between these tags we will define the Header of the file, so add the tag and below it write to close tag.
More to display the Title to the Web Browser use the special tag write here title . Text written between the & tag will be displayed as the header of the your web page. The important tag is tag. Whatever you want to display on the web page you must write it in between & .
HTML Tags
First of all let me explain the above web page and how it is created, how easily it can be created.
Basic Description of HTML File
The HTML file can be divided into the three parts:
HTML Header
HTML Body
HTML Footer
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:
· Open the text editor (e.g. notepad).
· Write the above file in it OR copy the above file and paste it on the notepad.
· Save this file as .htm or .html file extension (e.g.
· Now open the Internet Browser and open the saved file.
· Now you can see your web page.
The file starts from an tag and ends with the . tag identifies that it is an HTML file. is also called as open tag and it also need its closed tag which is . Between these tags we will define the Header of the file, so add the tag and below it write to close tag.
More to display the Title to the Web Browser use the special tag
HTML Tags
Tags are the reserve keywords used in the HTML file. With the help of tags we can set the format of the text and elements used in the file.
Example: Setting the font, size, color, bold, italic, Underline to the text.
In HTML language all of the files are written using tags. Even starting of the html file is done by the tag and ended with the end tag. Tags are the reserved keywords used in the HTML. They are the predefined words called tags.
Example: Setting the font, size, color, bold, italic, Underline to the text.
In HTML language all of the files are written using tags. Even starting of the html file is done by the tag and ended with the end tag. Tags are the reserved keywords used in the HTML. They are the predefined words called tags.
· HTML tags are used to mark-up HTML elements.
· HTML tags are surrounded by the two characters
· The surrounding characters are called angle brackets.
· HTML tags normally come in pairs like and
· The first tag in a pair is the start tag, the second tag is the end tag.
· The text between the start and end tags is the element content.
· HTML tags are not case sensitive, means the same as
· HTML tags are surrounded by the two characters
· The surrounding characters are called angle brackets.
· HTML tags normally come in pairs like and
· The first tag in a pair is the start tag, the second tag is the end tag.
· The text between the start and end tags is the element content.
· HTML tags are not case sensitive, means the same as
Some tags are discussed here:
Basic Tags
The most important tags in HTML are tags that define headings, paragraphs, body and line breaks. The basic HTML Tags are described here in the form of table so that you can remind them easily.
Basic HTML Tags
| Tag | Description |
| Defines an HTML document | |
| Defines information about the document | |
| Defines the document title | |
| Defines the document's body | |
to | Defines header 1 to header 6 |
| Defines a paragraph | |
| Inserts a single line break | |
| Defines a horizontal rule | |
| Defines a comment |
Description Of The Above Tags
tag
This element tells a browser that this is an HTML document. This tag is defined at the top of the HTML file and at the end of file.
Format:
..............body of HTML.............
Example:
this is my first page
tag
The head tag defines information about the document. The browser does not display the "head information" to the user. The following tags can be in the head section: , , ,
This element tells a browser that this is an HTML document. This tag is defined at the top of the HTML file and at the end of file.
Format:
..............body of HTML.............
Example:
this is my first page
tag
The head tag defines information about the document. The browser does not display the "head information" to the user. The following tags can be in the head section: