Welcome to my website.






















Now, this doesn't say very much as yet, but it's going to get more interesting, I promise. Lets take a look at the HTML code used to produce what we've got above. It looks like this:
<HTML><HEAD><TITLE>My test website</TITLE></HEAD>
<BODY><H1>Welcome to my website.</H1></BODY></HTML>

Elements of the markup language


Welcome to my home page

This is the first section, in <H2>

This is normal text within the paragraph.
I've now created a line break.

And now started a new paragraph.

HTML to create the section above

If this was a completely new page, we'd still have all the previous markup in it, such as the <HEAD>, <TITLE> tags etc, but I'll just introduce you to the new material. The HTML code looks like this:
<CENTER><H1>Welcome to my home page</H1></CENTER>
<H2>This is the first section, in &lt:H2&gt:</H2>
<P>This is normal text within the paragraph.
<BR>I've now created a line break.</P>
<P>And now started a new paragraph.</P>


Welcome to my home page

This is the first section, in <H2>

This is normal text within the paragraph.
I've now created a line break.

And now started a new paragraph. See? It starts to get interesting now!. Well, at least I think so!

This text is in a paragraph which is left aligned

This is aligned to the centre.

And, with no suprise, this is aligned to the right.

Element attributes

<P>And now started a new paragraph. See? It starts to get <B>interesting now!</B>
Well, at least <I>I think so!</I></P>
<P ALIGN="LEFT">This text is in a paragraph which is left aligned</P>
<P ALIGN="CENTER">This is aligned to the centre. </P>
<P ALIGN="RIGHT">And, with no suprise, this is aligned to the right.</P>

New elements


Welcome to my home page

This is the first section, in <H2>

This is normal text within the paragraph.
I've now created a line break.

And now started a new paragraph. See? It starts to get interesting now!. Well, at least I think so!

This text is in a paragraph which is left aligned

This is aligned to the centre.

And, with no suprise, this is aligned to the right.

Ok, those are some of the simple things you can do with text. Lets start to include a few more things - one last textual element, and then go onto some links and pictures.

  1. Or you can have ordered lists
  2. Which give you numbers
  3. Like these

Element attributes

<UL><LI>You can have</LI></UL>
<UL><LI>Unordered lists<UL>
<LI>like these, which allow you to<UL>
<LI>get narrower and narrower</LI></UL></LI></UL></LI></UL>
<OL><LI>Or you can have ordered lists</LI>
<LI>Which give you numbers</LI>
<LI>Like these</LI></OL>

Explanation


Right. Thats enough of that. Lets move onto some more interesting stuff. Here's a link to a new page.