Bookshelf

Daria's Works

Module 6 Navigation

Creating A Web Page

There are three main parts that pertain to creating a web site:

  1. Knowledge of HTML (Hyper Text Markup Language);
  2. Knowledge of CSS (Cascading Style Sheets);
  3. Good planning of content and design.

Let's look closer at what Hyper Text Markup Language means.

HTML is not a programming language, it's a markup language. A group of people called the World Wide Web Consortium (W3C) sits there and is constantly working on defining and refining that language. So far, there have been 4 versions of HTML, and HTML 5 is coming out. This markup language, developed by W3C, tells your web browser what to do by a series of commands called "tags". These tags look something like this:

<tagname>content</tagname>

As you see, tags are recognized by the browser as such by the angle brackets around them. The opening tag looks like this: <tagname>; the closing tag looks like this: </tagname>.

All tags, with the exception of a select few, have an opening and a closing tag.

That is, if you forget the closing tag, the brwoser won't know what to do with what you just wrote, and your web site will look all broken. We don't want that. Which means - pay attention to your tags. Open and close them - always, and if you don't close it, you better know a reason why you did that.

Common HTML Tags

Below is a list of most frequently used HTML tags, althrough there are many more:

Tags - What To Do With Them

Tags like html, head, title, body, paragraph, and heading are pretty self-explanatory: insert the text you'd like to see in between the opening and the closing tag, and you are all set!

What about those other ones? Let's see:

Structural Value of HTML

What About Cute Colors and Fonts? - you ask. HTML exists as a structural entity. It defines the layout, content, and structure of the site. It does not make the web site pretty. Cute colors and fonts are what CSS (Cascading Style Sheets) mentioned above are for, and we will look at those in just a minute.

If we don't put in any colors and structures, we can see more clearly what the architecture of our web site looks like. If you will, the web site is like a doll or a person - one may put various individual attributes into it. Some parts should stay the same, and every one of your creations should have a head and a body. Other elements - say, facial features, length of legs or nose - can differ from person to person. Same with the web site - each web site should have a head and a body, but it's up to you what text, images, and links you put into it and how you arrange those.

On the other hand, CSS is like clothing. It may be bright and extravagant, or it may be pale and elegant; in any case, the clothes a person puts on don't change that person's features. Clothes may make someone look better, but they can't change what's inside. It's the same with a web site - one web site may have various CSS connected to it, yet the content will stay the same. We'll look at it closer on Page 4.

Before we do that, let's look at two ways you can emphasize importance of text. You can italicize text by putting an <em>emphasis</em> tag. If you want something to be bold, put a <strong>strong</strong> tag around the word(s) you find important.

Why Is Structural Value of HTML Relevant?

HTML makes you think what should be on your web site. HTML makes you define what the organization principle you want behind your site without the distraction of thinking about colors. It makes you think what's more or less important, and give headings numbers corresponding to their importance. HTML gives you space to understand what your web site is before you worry about how it looks.

HTML Rules and Conventions

All text in HTML is to be done in lower-case.

This is a convention supported by all web designers. Less work for you if you don't have to press the "Shift" key all the time. This convention stands when naming files as well. Your computer sees "Baby-seal.jpg" as different from "baby-seal.jpg". To avoid confusion, we have decided that file names will be all lower-case and will have no space bars. Computers have strange reactions to space bars. Some say it's because of their hidden wish of going into space.

This Theory Is Boring!

All right, let's proceed to Practice