Lesson No.
2
- Formatting -
If you have not visit Lesson
No. 1, I recommend that you do so, if you have,
then lets get started with
formatting.
Formatting all or just a
certain part of the page is very easy. You start with the
formatting command that
you want to use and stop with the same formatting
command to tell the
browser where to stop.
Before we go on to the
examples, here are the basic list of commands that may
want to remember.
<B> = Bold
<U> = Underline
<I> =
Italic
Example #
1: A Bold Web Page
Format: Bold
To bold a web page, this is what you do. First decide
where you want to bold
your text. For
instance, in the short story below, I want to bold from the starting
of "This man
is..." to "good person"
" This is a story of a little man. This man is a very nice and is also
a good person.
He is one of my favorite man
in this world. "
This Is How I
Would Do It.
<HTML>
<TITLE>A Good
Main</TITLE>
<BODY>
This is a
story of a little man. <B>This
man is a very nice and is also a good man.
He is one of
my favorite man in this world.</B> he is one of my favorite man in this
world.
</BODY>
</HTML>
Notice the <B> and </B>. The <B> is to tell the browser where to start the bold
and the
</B> is to tell the browser where to stop.
Here is what it should look like on
your browser
(click on the image to get a better view)
Example # 2: Understanding To Underline
Format: Underline
To underline certain words in your web page, this is
what you would do.
First, figure
out what part or section of your web page you want to underline.
Next, use the
command <U> to start the underline and </U> to stop the underline.
Example A
To underline
the sentence "this is just a simple test" this is what you do.
<U>this
is just a simple test</U>
Example B
To underline the word "font" in the sentence "This is a
very nice font layout"
this is what
you do.
This
is a very nice <U>font</U> layout
Example C
To underline the word "cakes" and the word "cokes" in
the sentence
"This is a
very good party, with lots of cakes and lots of cokes for just to drink"
this is
what you do.
This is a
very good party, with lots of <U>cakes</U> and lots of
<U>cokes</U>
for just to drink
Example #3: Italic Your Web Page
Format: Italic
To italic certain
words or sentences on your web page, you would use the
command, <I>
and use the command </I> to finish off the italic.
Example A
To italic the
word "happy" in the sentence "It was a blue and happy day"
I would do the
following, this is what you do.
It was a
blue and <I>happy</I> day
Example B
To italic the word
"big" and the word "moon" in the sentence "I am a very
big person with a
very moon face" this is what you do.
I am a very <I>big</I> person with a very <I>moon</I>
face
Here is what it
would look like:
I am a very big person with a very moon face
END OF LESSON NO. 2
BACK
or NEXT |