Lesson 3.3 Block
Tags: <SPAN><DIV>
There may be instances
where we want
to divide the text
in a Web page
into logical blocks
of information. We may also want to apply common
properties to the
entire block. The DIV and SPAN
elements are used to group content. The DIV
elements is used
to divide up the
document into related
are sections. The SPAN element is used to specify a span of characters.
The SPAN element
is used to
define in-line content
while the DIV element
is used to define block-level
content.
The SPEN element is
not rendered in Netscape
How to Save You Program
You can write the program
on Note ++ or
Notepad, After you
have finish writing the
program go to
file on your notepad and
choose save as , then
write any name on
your choice and
add dot HTM
Example Div.html and click save. Before that you can choose to save it on Desktop or Document
Figure 3.5 Output of Example 5
How to Change the browser to any browser of your choice
You can change the browser
to any browser of
your choice by
clicking the right
side of your mouse
then go to
open with and choose
the browser you want.
Click right side of your mouse and click open with
The picture below
show you how to choose a browser for your program
After you
have choose the
browser you want
left click the
browser and it
will change
Comments
Post a Comment