User Guide

Chapter 4132
Some HTML basics
HTML files are essentially text files that contain:
Text that appears on the web page.
HTML tags that define document formatting and
structure, and link to images and other HTML
documents (web pages).
HTML tags are enclosed in brackets and look
something like this:
<tag> affected text </tag>
Like the example above, most HTML tags use both an
opening tag and a closing tag, which together define the
beginning and ending of the affected text. Some tags,
however, need only an opening tag. Many tags allow
additional variables to be added to control how the tag
affects the selected range of text. For example:
<font color=”blue”>Fireworks</font>
This tag would color the word Fireworks blue.
Common HTML tags
Most HTML documents contain these tags:
<HTML></HTML> —Mark the beginning and ending
of the HTML document.
<TITLE></TITLE> —Set the name of the document
that appears on the top of the browser window.
<HEAD></HEAD> —Information in this section
describes various characteristics of the document such as
the document title, background color, text color, and
font usage. JavaScript code is placed within this section
of the document.
<META></META>—Store extra information about
the HTML document such as what application created
it, keywords for search engines, and other information
used by various applications. Many HTML editors or
utilities add meta information to an HTML document.
<SCRIPT></SCRIPT>—Mark the beginning of code
for a scripting language, such as JavaScript.
<BODY></BODY>—Text or links in this section go
into the main body of the document.
<IMG>—Display an image on the web page. For
example:
<IMG SRC=”Picture.gif”>
Display the image Picture.gif on the page.
<A></A> —Create a link from text or an image to
another HTML document. For example:
<A HREF=”http://www.macromedia.com”>Link</A>
In this case, clicking the word ¨Link¨ in the browser
jumps to www.macromedia.com, if the computer is
connected to the Internet.
To place an image and also make that image a link, use
two tags:
<A HREF=”http://www.getfireworks.com”>
<IMG SRC=”Explosion.jpg”></A>—The image
Explosion.jpg is displayed on the web page. Clicking it
navigates to www.getfireworks.com. Note that the link
to the image is placed within the link tags, between <A>
and </A>.
<MAP></MAP> —Information within this tag
describes the shape of a hotspot using coordinates and
contains the URL destination of the hotspot.
Note: For more explanation on specific HTML tags and
their usage, consult any of many available books or web
sites about HTML.