Beruflich Dokumente
Kultur Dokumente
TBE 540
Farah Fisher
Prerequisites
Before beginning this lesson, the student
must be able to
Objectives
What is HTML?
HTML stands for
HyperText Markup
Language
It is the set of instructions hidden behind
every web page (called the source of the
page)
HTML tags tell the browser (like Internet
Explorer) how to display the page.
For example, <B>HI THERE</B> would
display the words HI THERE in bold.
What is HTML?
HTML tags are contained within < >
The letters inside the < > are the
HTML Structure
Each web page has a HEAD and a BODY.
All web pages have required tags like
these:
HTML Structure
The HEAD section often contains tags to
MyWebPage
<HEAD>
<TITLE>My Web Page</TITLE>
</HEAD>
HTML Structure
The BODY section contains all the
Text-Related Tags
Text-Related Tags
Text
Text-Related Tags
NOTE: Though there is a tag for
Text-Related Tags
MY PAGE
Text-Related Tags
To center a header, the tag pair <CENTER>
</CENTER> is used.
An example:
<CENTER>
<H1>TRAINS</H1>
</CENTER>
displays
TRAINS
Lines
Many web pages use horizontal lines to
IMAGE Tags
The <IMG> tag is used to display graphics
on web pages.
The main requirement for the IMG tag is
the file name (source) of the image.
NOTE: Web page images DO NOT
become part of a web page file. They are
separate files and must be located in the
same folder as the web page file unless
otherwise noted.
IMAGE Tags
Lists
Many web pages contain lists, much like
List Examples
These tags
<UL>
<LI>Dogs</LI>
<LI>Cats</LI>
<LI>Lizards</LI>
</UL>
List Examples
These tags
<OL>
<LI>Dogs</LI>
<LI>Cats</LI>
<LI>Lizards</LI>
</OL>
List Examples
These tags
<OL TYPE=A>
<LI>Dogs</LI>
<LI>Cats</LI>
<LI>Lizards</LI>
</OL>
tag?
<HTML>
</BODY>
<H1>
<HEAD>
tag?
<HTML>
</BODY>
<H1>
{headings/headlines are common, but not required}
<HEAD>
<TITLE>MY PAGE</TITLE>
<H1>MY PAGE</H1>
<H7>MY PAGE</H7>
<FONT SIZE=2>MY PAGE</FONT>
<TITLE>MY PAGE</TITLE>
<H1>MY PAGE</H1> {H1 shows the largest headline}
<H7>MY PAGE</H7>
<FONT SIZE=2>MY PAGE</FONT>
<I><B>CLICK HERE</I></B>
<I><B>CLICK HERE</B></I>
<B>CLICK HERE</B>
<H1>CLICK HERE</H1>
<I><B>CLICK HERE</I></B>
<I><B>CLICK HERE</B></I> *
<B>CLICK HERE</B>
<H1>CLICK HERE</H1>
<BR>
<P> and </P>
Just press Return/Enter
Either <BR> or <P></P> will work.
<BR>
<P> and </P>
Just press Return/Enter
Either <BR> or <P></P> will work.
<HR>
<LINE>
<LI></LI>
Must use a graphic.
<HR>
{a line is a horizontal rule}
<LINE>
<LI></LI>
Must use a graphic.
Activities
Check out the handout at
http://www.csudh.edu/fisher/tbe540/HHO1.
htm (as a review of this lesson).
Try the hands-on exercise at
http://www.csudh.edu/fisher/tbe540/HEX1.
htm