Any well-constructed basic HTML document (typically a web page) has several key elements. You should ensure that all of your web pages have these. The first thing in the page code should be the DOCTYPE declaration statement. Following that the rest of the document should be enclosed within <html> ... </html> tags. The page is then divided into two sections, the head and the body and these are, respectively, enclosed within <head> ... </head> and <body> ... </body> tags.

The head section of the page may contain the document title, enclosed within <title> ... </title> tags, the various meta tags, links, a style sheet, scripts and other control elements that affect the page over all. The body section of the page contains the page content and may contain scripts and other functional elements that affect the page content.

These are the typical parts of a well constructed HTML document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" />

<html>
<head>

<title>OSA: Online Selling Association - a place for online business owners to learn and share.</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="your, comma, separated, keywords, go, here" />
<meta name="description" content="Your description text goes here." />

<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="shortcut icon" href="/favicons/favicon.ico" />

<script language="JavaScript" type="text/javascript">
<!--
Java Script Content May Be Here...
-->
</script>

</head>

<body>

Your Page Content Goes Here...

</body>
</html>

It is generally accepted that well contructed pages index better in most search engines. The structure and details of individual componants of an HTML document (web page) are discussed in subsequent sections of the SEO By The Page articles.


Discover more from Ultimate Virtual Solutions

Subscribe to get the latest posts sent to your email.