HTML for Complete Beginners
HTML is made up of tags and sets of tags, a set being two tags
that are linked: a start tag and an end tag. HTML is a bit like
a person, the head comes first, then the body.
As I've just mentioned the very first main tag of every single
HTML document is usually the HTML tag, which is a start tag and
is written as . Accompanying it will be the very last tag
of the document, the end tag, . Notice the / this means
it is an end tag. Every start tag must have an end tag. Start
tags begin a section of code and end tags finish it. I say the
very first "main" tag as there can be a tag before it, the
DOCTYPE tag. This tag gives the browser information about what
type of HTML is being used.
The head section begins with the tag and ends with the
tag. It has information about the page itself and
consists of the page title, the meta tags (more on those in a
minute), and the code for any page transitions you may have.
The page title is self-explanatory and is written as
Your page title
The meta tags, particularly the http://www.moynem.freeserve.co.uk (first created when
I knew nothing about HTML apart from what it was and what it
stood for)is called "M Moyne's home page and thus has the meta
tag:
There is also a meta description tag which used to tell the
search engines how to describe the website on their results
pages, now I've seen them use the first few lines of text for
their description.
The next of the main tags is the body tag, which is written as
and respectively. It contains the main part of
your HTML code. On my personal homepage it starts off with the
code for the background. In this case it is a JPEG image. You
can put almost anything in the body section, navigation bars,
page banners, tables, images, horizontal lines, hyperlinks and
so on. However all of the things that I have just mentioned
cannot go anywhere else except the body section.
Let's look at the code for some simple things.
Headings: Heading 1 is Heading 2 is Heading 3 is
and so on.
Paragraphs begin with
and end with
A 100 * 200 image with a description is:
That's enough for a simple web page.
About the author:
M Moyne knows quite a bit about Microsoft FrontPage, which he
has used to create both M Moyne's home page
and My Orlando
Guide , and he also knows a bit about Macromedia Flash.
Unfortunately you can't import Flash documents into FrontPage.
He also has a blog, which is on his personal homepage, that's
the first link given above.