Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Internet
The Internet, sometimes called simply "the
Net," is a worldwide system of computer
networks - a network of networks in which
users at any one computer can, if they
have permission, get information from any
other computer (and sometimes talk
directly to users at other computers).
HTML
Hypertext
Opera
Firefox
Netscape
Safari
How
Step 3.
Step 1.
Click the Web browser
program name
Step 4.
The home page
displays in the Web
browser
What is downloading?
p. 55
What is a URL?
p. 56 Fig. 2-6
p. 57
<HTML>
<HEAD>
<TITLE> Environmental Change Project </TITLE>
</HEAD>
<BODY>
<h1> Environmental Change Project </h1>
<BODY> </BODY>
<TITLE>
<TITLE>Practice Page</TITLE>
The <TITLE> tags designate what will appear in the title bar at
the top of the browser.
<HTML>
<HEAD>
<TITLE> Environmental Change Project </TITLE>
</HEAD>
<BODY>
Welcome to the home page of the Environmental
Change Project. This project is different from other
projects with similar names. In our case we actually
wish to change the climate. For example, we would
like hot beaches in Northern Quebec, and deserts
near Chicago.
</BODY>
</HTML>
Headings
<P>
Example :
<HTML>
<HEAD>
<TITLE>Practice Page </TITLE>
</HEAD>
<BODY>
< CENTER > <H1> HTML is Easy To Learn </H1> </CENTER>
<H3> Step One </H3>
The key in learning HTML is practice. I know you all can do
it <P> So, let us give a try.
</BODY>
</HTML>
Example:
To
Example:
The<I>key</I>in learning to make
web pages is
<B><U><I>practice.</I></U></B>
Color
Style
Keep in mind that the style of font the viewers of your web
page see depends on the style fonts they have installed on
their computer. If they do not have the style you are using
for your web page, they will get the default setting of their
browser.
You can use any combination or all attributes in the font tag
like this:
HTML
supports unnumbered,
numbered and definition lists. You
can nest lists too, but remember
to use this feature sparingly
because too many nested items
can get difficult to follow.
Unnumbered Lists
Unnumbered Lists
Result:
My hobbies include:
Reading
Swimming
Traveling
Numbered Lists
Numbered Lists
Result:
1. Reading
2. Swimming
3. Traveling
Definition Lists
Definition Lists
Result:
NCSA
NCSA, the National Center for
Supercomputing Applications, is located
on the campus of the University of Illinois
at Urbana-Champaign.
Definition Lists
<UL>
<LI> A few New England states:
<UL>
<LI> Vermont
<LI> New Hampshire
<LI> Maine
</UL>
<LI> Michigan
<LI> Indiana
</UL>
Definition Lists
Result:
A few New England states:
Vermont
New Hampshire
Maine
Michigan
Indiana
Result:
Result:
<IMG SRC="button.gif"> <IMG
SRC="button2.gif">
Result
Result:
Result:
<BODY BGCOLOR="#00FFFF">
Alignment Text
To
Attributes Alignment
The stuff between the beginning and end tag will be on the
right side of the page. Notice again that the attribute is only
required for the beginning tag. You can also put text to the
right of the page using the ALIGN attribute in the <P> tag,
but this time you will need an end </P> tag:
<P ALIGN="right">practice, practice, practice</P>
This makes the text flow down the side of the picture.
Example:
Result:
See how the text here is going down the picture?
The align attribute makes this possible.
Example:
<IMG ALIGN="left" SRC="pups.jpg">
<P> </P> <I> See how far down the text
here starts?<BR>The space in the P tags make it
happen. <BR CLEAR="all"> See how this line of text
starts below the picture? The CLEAR attribute did
it. </I>
Result:
Sending Email
For visitors to be able to send you email
from your site, do the same thing but
instead of the web address, put your email
address after mailto: Example:
<A HREF="mailto:web@get-2.com">here
goes stuff to be clicked</A>
First is:
<TABLE> </TABLE>
Example:
<TABLE>
<TR>
</TR>
<TR>
</TR>
</TABLE>
<TD> parrot</TD>
<TD> kingfisher </TD>
Result:
parrot
eagle
kingfisher
sparrow
A couple of other attributes that can go into the <TABLE> tag are
CELLSPACING and CELLPADDING.
CELLSPACING defines how far apart the cells are from each other.
Example:
<TABLE BORDER="1" CELLSPACING="5">
CELLPADDING defines how far away from the cells' edges the stuff
inside them will be. Example:
<TABLE BORDER="1" CELLPADDING="5">
You can use any combination of attributes in a <TABLE> tag, just
make sure each attribute is separated by a space (by using the
spacebar on your keyboard).
Aligning Data
By default everything in the cell will be to the left. You can
center it or move it to the right by using the ALIGN attribute
in the <TD> tag:
<TD ALIGN="right"> parrot </TD>
Aligning Data
By default everything in the cell will be to the left. You can
center it or move it to the right by using the ALIGN attribute
in the <TD> tag:
<TD ALIGN="right"> parrot </TD>
Result:
parrot
eagle
kingfisher
sparrow
Aligning Data
There is also the VALIGN attribute. It makes stuff in the cell
line up at the top or the bottom but there has to be enough
space in the cell for it to work. This can be done by using
the HEIGHT attribute in the <TD> tag:
<TD VALIGN="top" HEIGHT="50">kingfisher</TD>
Result:
parrot
eagle
kingfisher
sparrow
parrot
eagle
kingfisher
sparrow
<HTML>
<HEAD>
<TITLE>Frames</TITLE>
</HEAD>
<FRAMESET ROWS="25%,75%">
<FRAME SRC="title.html">
<FRAME SRC="main.html">
</FRAMESET>
</HTML>
<HTML>
<HEAD>
<TITLE>Frames</TITLE>
</HEAD>
<FRAMESET COLS="25%,75%">
<FRAME SRC="title.html">
<FRAME SRC="main.html">
</FRAMESET>
</HTML>
title.html
main.html
side.html
title.html
main.html
<HTML>
<HEAD>
<TITLE>Frames</TITLE>
</HEAD>
<FRAMESET ROWS="25%,75%">
<FRAMESET COLS="100%">
<FRAME SRC="title.html">
<FRAMESET COLS="25%,75%">
<FRAME SRC="sidebar.html">
<FRAME SRC="main2.html">
</FRAMESET>
</HTML>
Frame Names
To make the linked page go into a frame
other than the one which contains the link,
you need to name your frames like this:
<FRAME NAME="A" SRC="main.html">
<A HREF="practicepage.html"
TARGET="A">your link</A>
No Borders
To get rid of borders just put the BORDER
attribute in the FRAMESET tags like so:
<FRAMESET ROWS="35%,65%" BORDER="0">