dkFlyer

Beginning HTML

View the RGB Color Chart (in JavaScript) here.

This is least amount of HTML Code required to make an HTML Document:
<HTML>
<BODY>
Hello World
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- Your Message,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.
(Note that TAG's are very similar to 'Reveal Codes' in WordPerfect.)

This Code will produce this:

Hello World

You could choose to Center your Message:
<HTML>
<BODY>
<CENTER>
Hello World
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- Your Message,
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World

You could choose to Bold your Message:
<HTML>
<BODY>
<CENTER>
<B>
Hello World
</B>
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- the BOLD Opening Tag,
<-- Your Message,
<-- the BOLD Closing Tag,
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World

You could choose to use the Largest Font Size on your Message:
<HTML>
<BODY>
<CENTER>
<H1>
Hello World
</H1>
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- the LARGE SIZE Opening Tag,
<-- Your Message,
<-- the LARGE SIZE Closing Tag,
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World

You could choose to Another Line your Message:
<HTML>
<BODY>
<CENTER>
Hello World
My name is Dennis Kennedy
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- Your Message,
<-- Another Line,
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World My name is Dennis Kennedy

It produced only One Line because you have to Tell HTML Where to put your Line Breaks:
<HTML>
<BODY>
<CENTER>
Hello World<BR>
My name is Dennis Kennedy<BR>
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- Line Break (no Closing Tag),
<-- Line Break (no Closing Tag),
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World
My name is Dennis Kennedy

Now, you can 'Mix them up':
<HTML>
<BODY>
<CENTER>
<H1>
Hello World<BR>
</H1>
<B>
My name is Dennis Kennedy<BR>
</B>
</CENTER>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the CENTER Opening Tag,
<-- the LARGE SIZE Opening Tag,
<-- Your Message,
<-- the LARGE SIZE Closing Tag,
<-- the BOLD Opening Tag,
<-- Another Line,
<-- the BOLD Closing Tag,
<-- the CENTER Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this:

Hello World


My name is Dennis Kennedy

To add a Title to your HTML Document:
<HTML>
<HEAD>
<TITLE>
dkFlyer - HTML Tutor
</TITLE>
</HEAD>
<BODY>
... ...
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the HEAD Opening Tag,
<-- the TITLE Opening Tag,
<-- the Title,
<-- the TITLE Closing Tag,
<-- the HEAD Closing Tag,
<-- the BODY Opening Tag,
<-- Some Code,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.
(This is the Title as it would appear on your Browser Window.)

Back to the Table of Contents


Author: Dennis Kennedy
Copyright © 1998 dkFlyer
If you have any questions, email me.

Hosted by www.Geocities.ws

1