Академический Документы
Профессиональный Документы
Культура Документы
01 Transitional//EN">
<html>
HTML is the only way to communicate with
people on the World Wide Web. There are <head>
many ways to make web pages but the <title>This is YOUR NAME's HomePage</title>
basic method is to "write" the code by hand
in a language called HTML. HTML stands </head>
for Hyper Text Markup Language. HTML is <body>
an easy to use and very versatile language <h1>This is YOUR NAME's little corner of the Web</h1>
but... it is not too forgiving, you will have to
type all the commands in carefully with a <h2>I've just started working on it so keep watching</h2>
great attention to detail. <blockquote>
Here is a place to put a short paragraph about yourself and your
HTML tags are identified by the greater
than and less than symbols. Be sure that interests.
you have all your "tags" in matched sets < > </blockquote>
if you have stray symbols or quotes you
<h2>Here are sites that I find interesting</h2>
will, frankly, have a mess.
<ul>
There are lots of tags to do almost anything <li><a href="the URL goes here">HOT TEXT WILL BE HERE</a></li>
that you want but... you can make great
<li><a href="the URL goes here">HOT TEXT WILL BE HERE</a></li>
web pages with just a few. In fact, as you
will see later, we can make web pages <li><a href="the URL goes here">HOT TEXT WILL BE HERE</a></li>
without any HTML at all. </ul>
<hr />
First Type This Simple Page: <a href="mailto:Yourlogin@stritch.edu">Please send me email</a>
Use any text editor, NOT a word processor.
<hr />
It is important that you know where the file
is saved on your system. You should be <p align="center"><a href="http://www.stritch.edu/">Back to the
sure that you are saving it in a location that Stritch Main Page</a>
will have sufficient space to hold all your
</p>
graphics and text. A flash/pen drive will be
perfect. Where your files are kept is <hr />
important especially before it has been </body>
uploaded to a website. <More Later>
</html>
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #1
Save this document as a text file with the name: index.html (You can also use index.htm)
After you have saved the document, open Internet explorer. Select file from the menu bar and select open a page. Browse until you find
your page. Then click the button to open the page and you should see your page in all its glory!
Add a graphic:
Find a suitable PNG, GIF or JPEG image and put it in the same place that your web page is stored.
Make sure that it is named without spaces or odd characters. Decide where in your document that
you wish the picture to appear. And in that exact location type this:
The name must be exactly the same in the img src tag as it is on the disk. This is the most common
error so check the spelling and case carefully.
Save the file and go back to the browser, do a reload, and view your graphic.
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>Horizontal Rule Demo</TITLE>
</HEAD>
<body bgcolor=#FFFFFF text=#0000000>
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>Table Demonstration</TITLE>
</HEAD>
<body bgcolor=#FFFFFF text=#0000000>
<CENTER>
<Table border= 5 cellpadding= 15>
<TH colspan=5>
<H1>This is a sample schedule:</H1></TH>
<TR>
<TH>Course</TH>
<TH>Room</TH>
<TH>Time</TH>
<TH>Days</TH>
<TH>AV Needed</TH>
</TR>
<TR>
<TD>English</TD>
<TD>213</TD>
<TD>8:00-9:30a</TD>
<TD>M-W-F</TD>
<TD>No</TD>
</TR>
<TR>
<TD>Math</TD>
<TD>223</TD>
<TD>9:45-11:15a</TD>
<TD>T-Th</TD>
<TD>Yes</TD>
</TR>
<TR>
<TD>Phy Ed.</TD>
<TD>Gym</TD>
<TR>
<TD>12:00-12:55p</TD> <TD>Computers</TD>
<TD>M-W-F</TD> <TD>Comp Lab</TD>
<TD>No</TD> <TD>1:00-2:30p</TD>
</TR> <TD>T-Th</TD>
<TD>Yes</TD>
</BODY>
</HTML>
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TR>
<TH >Ram </TH>
<TH >Hard Drive </TH>
</TR>
<TR>
<TH width=30% rowspan=3>Computer Type</TH>
<TD width=30%>Macintosh</TD>
<TD width=20%>16 meg</TD>
<TD width=20%>850 meg</TD>
</TR>
<TR>
<TD>Wintel</TD>
<TD>24 meg</TD>
<TD>1.6 gig</TD>
</TR>
<TR>
<TD>Unix</TD>
<TD>64 meg</TD> Complex tables demand a great deal of advanced planning
<TD>8 gig</TD>
</TR> and careful coding. Note how colspan and rowspan allow you
</Table></CENTER>
</BODY>
to have a heading or cell data span multiple columns in
</HTML> either direction. These tables can be created in word or
Excel and exported to html.
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #5
Adding a background Color: FTP Information for CSU Students
Change the body tag to add a color attribute:
Please use the following information to connect to your space via FTP:
<body style="background: blue;">
Host: students.stritch.edu
This line will color the screen blue.
Username: stritch/[your username] (note: the "stritch/" is required.)
Password: [your password]
Adding a background: Remote Directory: /students/[your username]
Change the body tag to add a background graphic: if you are using an FTP client, such as LeechFTP, the connection screen should
look something like this:
<body style="background: blue
url('yourgraphic.gif');">
This line will color the screen blue until the graphic loads.
This document ©John M. Sklar, 2007 – Feel free to use for education purposes but do not modify – contact: jmsklar@stritch.edu Page #6