This tutorial will guide you that how you create a simple webpage in HTML. For a simple web page just you have a simple text editor such as NotePad etc.So open your text editor and lets begin. In this your first page i am going to use four primary HTML tags which are <html>, <head>, <title> and <body>.
Now we explain the step by step method .
Open you Text editor and write
<HTML> is the very opening for any HTML Web Page. All the other element are written between <HTML> and </HTML> tag. </HTML> tag is placed in the end. <HTML> tell to the browser that this is an HTML Page.
So far what you have coded looks like this:
After opening your document with <HTML> you will start a new line and code
The <head> tag is basically container tag which contain some informational tag for browser and Search engine. For example <Title> tag which is not only display on the title bar as title of page also tell to search engine that what is in this page. Head tag also contain some more information about the author, copyright, keywords etc.
In this simple page we Placed only Title Tag between Head Tag .Title tag defines the title of the document and also Title tags tell search engines what your page is about. Every thing in title tag is appear on the title bar.
Now your page coding is look like :
This is my first page
After Head tag we place another tag which is <body> tag. This tag contain actual contents which will be viewed on your Web page. After typing all contents write </body> tag .
So far your total coding in the text editor looks like this:
My First Page
Now Write some thing in between <body> and </body> Tag this mater is display of your HTML Web Page.
For Example:
My First Page Hello HTML , This is My First page and contain HTML , HEAD , TITLE and BODY Tag.
Now Save this File and give a name. Normally your text editor save the file as text file with txt extension so when you are going to save this file first select All file in Save as Type. and then give the file name with extension. for example Mypage.html
After saving this open this file in your browser.
HTML Forms
HTML DECIMAL Color Code and HEX Color Code
HTML Nested Lists
Elements and Tags In HTML
4 Primary Tags In HTML
Create Your First Web Page in HTML
Attributes in HTML Tags
HTML DOCTYPE Declaration
HEAD Tag in HTML
Meta Tags in HTML
Body Tag in HTML
H1 to H6 HTML Elements
Basic HTML Elements
HTML Table Element
Basefont HTML Element
Formatting Element in HTML
Font Element In HTML
Style Element in HTML
CSS Properties
DIV in HTML Document
List in HTML
Creating Menus With HTML list
Creating Horizontal Menu With HTML list
HTML Image Tag
Hyperlinks In HTML