Smart ways to make money online.

Smart ways to make money online - HTML Tutorial - Basic Structure of an HTML Page.

 

HTML files have a certain format you should follow. Here's a sample page:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<html>

<head>

<title>My web page title that appears in the title of the web browser</title>

<meta name="description" content="Description of your site">

<meta name="keywords" content="main keywords of your site">

</head>

<body>

<p>

<center>

This is my new web page. I hope you like it. Please come back and visit again.

</center>

</p>

</body>

</html>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The <html> tag just tells the browser where the HTML starts. It is not necessary to include this tag to get your page to show.

The <title> tells your browser the title of the page and you'll see this text at the very top of your web browser. This is also used by most search engines when indexing your page. Whatever text you have here will be title of your site when displayed in the search engines.

The <meta name> information is also somewhat useful for some search engines. They may use whatever is in your "description" tag to describe your site. Others may randomly take an excerpt of the <body> of your page for a description of your site. The keyword tag may also be helpful with your ranking in some engines. Insert 3 or 4 of your main keywords or keyword phrases separated by commas here.

A few years ago, the <meta name> information was quite crucial in getting a top listing with the search engines. However, things have changed drastically with the explosion of so many new sites and the fact that many people abused it. I would still recommend using these tags but don' t expect to get a top ranking because of them.

The body of your site should be included inside the <body> tags, and this is where most of the HTML code will be placed.

Lesson # 3 : HTML Tutorial - Understanding Colors in HTML

HOMEPAGE