Writing Your First Page
So here we go...you're going to write your first HTML page using
what you have learned above plus two other items. And these two
items are important to every page you will ever write. Why?
Because they will be on every page you ever write.
You will start every page with this flag: <HTML>
That makes sense. You are denoting that this is an HTML
document.
Your next flags will always be these: <TITLE> and
</TITLE>
See the very top of this page?
I mean way up top. Above the FILE - EDIT - VIEW menus. The blue bar up there.
Right now it reads "Basic HTML: Primer
#2--Flags." That's the title of
the page and that's what you are denoting here. Whatever you put between these two flags
will show up in the title bar way at the top.
Finally, you'll end every page you write with this flag:
</HTML>
Get it? You started the page with HTML and you will end the page
with /HTML. That makes sense again.
So Here We Go!
I want you to play around with these commands. Just remember
that HTML reads like you do, top to bottom, left to right. It
will respond where you place the start flag and stop where you place
the end flag. Just make sure your flags are within the <
and > items.
Here's a sample page to show you what I mean for you to do
tonight:
<HTML>
<TITLE> My first html page </TITLE>
<B>This is my first HTML page!</B><P>
I can write in <I>Italic</I> or
<B>Bold</B><BR>
<HR>
<B><I>Or I can write in
both</I></B><BR>
<HR>
<TT>...and that's all</TT>
</HTML>
Notice I only used the flags I showed you on this page. Yes,
it's a childish page, but you're just starting out. Notice the
<HTML> and </HTML>. Notice the <TITLE> and </TITLE>. See how
there's a beginning and end flag when I alter the text and that the P and BR commands are
used to go to new lines?
Now, click here to see the page the code above produced.
Look at the program above and then what it produced.
Look at the source code when you open the page.
See how the
HTML flags denoted where text was affected? Good! I knew you
would. Now go! Go into the world--or at least to your text editor--and create.
Follow the instructions in HTML Primer #1 to help you save
and then display your first HTML page.
You Can Do This!
On to Primer
#3
Back to the HTML Goodies
Home Page
[HTML Flags][Flag
Formats][Open and Close Flags]
[Single Flags][Writing Your
First Page]