CodeCrunch - http://www.codecrunch.com
HTML For The Newcomer: Part 5
http://www.codecrunch.com/articles/80/1/HTML-For-The-Newcomer-Part-5.html
By Daniel Phillips
Published on 06/29/2006
 
The final installment in the series, details the uses of some more basic tags you need.

HTML For The Newcomer: Part 5

In this final part of the series we will discuss other random tags and values that we have not covered in other tutorials. This one is going to be fast paced as there is lots to fit in, try and keep up!

The Mailto tag

<a href="mailto:email@codecrunch.com">Email Me Please</a>

This tag is known as the "mailto tag" It is basically a link that opens an email client and puts your email addres in the send field, its just like a normal link, the main differences being the mailto: Which comes before the desired email address.

The Marquee tag

<marquee>

<b> kool </b>

</marquee>

This tag is used to make anything between the opening and closing tag scroll sideways across the screen, rather simple really! More on this tag will be found in the Intermediate tutorials.

The Heading Size tag

<h1>This is a heading</h1>

<h2>This is a heading</h2>

<h3>This is a heading</h3>

<h4>This is a heading</h4>

<h5>This is a heading</h5>

<h6>This is a heading</h6>

This tag is for specifying the size of a heading, <h1> being the biggest, and <h6> being the smallest! Be careful and remember to end this tag or you will have the whole document the same size as the title.



HTML For The Newcomer: Part 5

The Line Break Tag

<p>line <br>break<br> line <br> Break </p>

This tag is for line breaks, this code will display something like this in your browser:

line

break

line

break

The Comment Tag

<!-- This is a comment -->

This tag is used to insert comments into a HTML document, comments are only visible for somebody viewing the code, and are useful for reminding yourself of things.

Body Attribute Tags

<body bgcolor="">

Already mentioned this one, so no explanation required! Defines background colour.

<body text="">

Put the colour or hex code between the "", that you want text in your document to be.

<body link="">

Put the colour or hex code between the "", that you want unclicked links in your document to be.

<body vlink="">

Put the colour or hex code between the "", that you want clicked links in your document to be.

<body alink="">

Put the colour or hex code between the "", that you want links to be when your clicking them.


HTML For The Newcomer: Part 5

List Tags

<ul> </ul>

Creates a list with bullet points.

<ol> </ol>

Creates a list with numbers.

Well, thats all the basic HTML you really need to know, hope you have learnt a little from these thins, also hope to see you in the intermediate tutorials!