SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML

HTML codes and page structure

HTML code can be written in  a plain text editor or by using any advance editor. Let us first see how a plain html code looks like.
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<html>
<head>
<title>Page title here </title>
<META NAME="DESCRIPTION" CONTENT="HTML page structure with sample code">
<META NAME="KEYWORDS" CONTENT="HTML page, structure of a page, Basic HTML page, Meta tags"> 

</head>
<body>

Our body content here 

</body>
</html>
The total code is divided into two parts and both the parts are kept inside <html> tags. Our page should start with <html> and should end with </html>. The first part inside this html tags is head tag and it starts with <head> and ends with </head>, after this the second part starts with <body> and ends with </body> tag. Inside the body tag we keep all our content which we want to display to our visitors. What ever we place in this part of the page will be displayed by the browser to the visitors. Now let us discuss both the parts in detail. We will start with head tag.

<HEAD>    </HEAD>

The page should have only one starting head tag and one ending head tag. The head tag starts with <head> and ends with </head> . The text or tags what goes inside the head tags will not be displayed in the browser window. Inside this tag we keep all the meta keyword tags used for search engines. One of the important tag is title tag also kept inside this area. Title tags are displayed at the top left side of the browser window.  Title tags are also important for our search engine point of view. We should keep most important keywords inside the title tag. Watch the title tag of this page. If we are adding any javascrip code here then that will be loaded when the browser opens the page.  Other meta tags we will discuss in detail in a different section. Now let us move to BODY section of the page.

<BODY>  </BODY>

This is where we will place our content for our visitors. What we place here will be displayed to our visitors. So go on filling this place  with your content to show to the world. The style and other formatting of the text we will discuss in different sections here.

Close our page with </HTML> tag. This is all bout structure of our html code. We will discuss more on this in our different sections here.

Number of User Comments : 2


Google+
saud20-02-2013
that is good for me i want to learn moooooore .
Thanks.
pratheep05-08-2013
very good
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer