Understanding the Basic Structure of a Website

Table of contents for Learn how to create a website series

Below is the complete list of entries to this series.
  1. Learn how to create a website using a Template
  2. Understanding the Basic Structure of a Website
  3. Choosing a template for your website
  4. Editing the CSS Template to Make a Website

What is a website made out of anyways?

If you take a good look at a couple of websites, you might notice their structures share a couple of things in common. (If you are wondering why you need to know this, you’ll learn why really soon.) Each website usually contains the following basic elements:

  • A header usually contains the logo of a website along with a brief description. Sometimes you may find a menu there as well.
  • The main body or content which may take up most of the website which contains the content of the website.
  • A sidebar which usually contains the navigation of your website.
  • A footer which usually contains copyright and licensing information.

Not all websites follow this traditional structure. It all depends on what type of website you need to suit your needs.


So what is under the hood?

So, what makes a website a website? Under the hood websites are made up of different coding languages that serve different purposes. I’ll only describe the basic ones you need to be aware of and will be working with.

Don’t worry, you don’t need to know anything. I’ll help you every step of the way.

HTML

HTML stands for Hyper Text Markup Language. It consists of HTML tags that are used to mark up content and usually have a starting and ending tag. If you have worked with website development in the past, edited a profile on a social site such as MySpace you probably already are familiar with the basics of HTML. An example of HTML is below.

<html>
<head>
<title>This is the title of a website</title>
</head>
<body>
<h1>This is a header</h1>
<p>This is a paragraph</p>
 
 
</body>
</html>

Note: If you really wanted to, you could create an html document say, index.html, copy the above code into that document, save it, run it on firefox, and view your website!

Cascading Style Sheets

CSS are Cascading Style Sheets. They can be embedded withing your website or be found in an external file (.css) that is linked to your website. You can think of them as style sheets. If you want to define or alter an attribute of an element of your website such as a font, image, link color, or any other element, you define it in the CSS document, and it would apply to all such elements on your site. I’ll show you an example later.

XHTML

XHTML stands for Extensible HyperText Markup Language. It is more of a standard for writing in HTML. So if you see a website or layout saying its XHTML Compliant, well now you know why.


Ok, now what?

Scared yet? Don’t worry. It will all make sense later. So what’s next? In the next tutorial I’ll help you find a template to start our website, then we’ll start editing it. Stay tuned for the next tutorial. If you have any comments or suggestions feel free to post them below.

Tags: , , , , , , ,