HTML: Getting Started

 

Getting Started

HTML stands for HyperText Markup Language. HTML is one of the basic building blocks of the World Wide Web.

Each command (or "tag") in HTML is given inside the symbols "<" and ">". To show where the influence of a tag ends, repeat the tag and begin it with "/". For example, each HTML page begins with the command <HTML> and ends with the command </HTML>.

A page has a <HEAD> section at the top. Below the <HEAD> section is the <BODY> section. An optional attribute for <BODY> is BGCOLOR, for "background color". For example, <BODY BGCOLOR="lightyellow"> sets the background color to light yellow.

Inside the <HEAD> section you can include a <TITLE> tag. The title shows up in the horizontal blue bar at the top of the browser window.

Most paragraphs begin with a <P> tag. It is not necessary to end the paragraph with </P>. An optional attribute for <P> is ALIGN. For example, <P ALIGN=CENTER> centers the paragraph.

HTML is case-insensitive: <p> works the same as <P>.

 

Example

Here is a first web page:

<HTML>

<HEAD>

<TITLE>A First Web Page</TITLE>

</HEAD>

<BODY BGCOLOR="navajowhite">

<p align=center>Look Ma, I can create a web page!

</BODY>

</HTML>

to see this how this code looks in a window.

 

Other Resources

Try these links on HTML basics:


Page Link
Primer #1 www.htmlgoodies.com/primer_1.html
Getting Started www.w3.org/MarkUp/Guide/

or check out one of our reference books, or look for other help on the Web.

 

Exercise

Work on either 1) a web page of your choice, or 2) a web page for eEverything, a new online business that sells...everything. In your page, use all of the tags mentioned above.