Professional Documents
Culture Documents
What is HTML?
What are Tags?
Explanation of Document Structure
Explanation of Document Structure Tags
What is HTML?
HTML (Hyper Text Markup Language) is the language used to write Web
pages which consists of codes (tags) embedded in the text of a
document.
Tags are codes in an HTML document which the browser reads and then
interprets for subsequent display to a reader. Tags are not visible when
an HTML document is viewed in a browser, but their effects are. Tags
begin with the opening symbol "<" and end with the closing symbol ">";
and usually come in pairs, one that begins an action and one that ends it.
I want to
<B> emphasize </B> this!
I want to emphasize this!
* Do not worry about memorizing all the tags described in these lessons.
Any tags that are required are listed in the accompanying HTML
Reference Guide which can be printed for reference purposes.
Each HTML document has a minimum number of tags. Here is the very
least HTML code that can be called a "page":
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
EXAMPLE:
<BODY
BACKGROUND=
"picturename.gif">
</BODY>
EXAMPLE:
<BODY
BGCOLOR="#FFFFFF">
This page has a white
background.
</BODY>
OR
EXAMPLE:
<BODY
BGCOLOR="WHITE">
This page has a white
background.
</BODY>
EXAMPLE:
<BODY
LINK="#0C6249">
This page has blue
links
</BODY>
EXAMPLE:
<BODY
VLINK="#800080">
This page has purple
links after being visited
</BODY>
EXAMPLE:
<BODY
ALINK="#FFB50C">
This page has yellow
active links
</BODY>
EXAMPLE:
<BODY
TEXT="#00006A">
This page has blue text
</BODY>
The <BODY> tags for this document are as
follows:
<BODY BACKGROUND="spiral_ruled.gif"
BGCOLOR="#FFFFFF" TEXT="#00006A"
LINK="#005A5A" VLINK="800080"
ALINK="#FFB50C">
An excellent way to learn HTML is to view the coding used on other web
pages. To do this in either Netscape or Internet Explorer - select "View
Source" from the "View" menu. The file contents with all the HTML tags
will be displayed in a new window.
Try it out!
In the Box below, type the following HTML code, then click the "View"
button. The HTML document you made will be displayed in a new browser
window. You may wish to experiment by changing the words within the
tags.
<HTML>
<HEAD>
<TITLE>My first Web page</TITLE>
</HEAD>
</HTML>
View
Erase
(To return to this page after viewing click "Back" on your browser.)
Index Lesson 2
Index
| Lesson 1
| Lesson 2
| Lesson 3 | Lesson 4
| Lesson 5 | Lesson 6 | Lesson 7 | Lesson 8
HTML Reference Guide