1. From home follow these steps to log onto your TREX2 account:
If you do not have a campus account you can create one, or you will
need somewhere else to display your web page on the Internet. There are
some companies like Geocites that will give free web pages.
At the prompt type the following:
$create_homepageThis will create a directory called WWW and a document inside the directory called index.html.
http://www.student.montana.edu/~username
There are many ways to make a web page. The easiest way is to use an HTML editor. The advanced editions of Netscape, and Internet Explorer all allow you to make an html document. That is all a basic web page is, and HTML document (HyperText Markup Language). When you make a Web page in a HTML editor you don't have to type in the tags, the editor does it for you behind the scenes. The tags are talked about below. If you don't have an editor with your Web browser you can also go to downloads.com and download a free html editor. (Microsoft Word will also create a Web page, but I suggest you do not use Word for this assignment, it doesn't create an html document, it creates a XML document which is much harder to edit and ftp.)
HTML documents have two parts when viewed in a text editor like notepad: (and if you use the tags below you can create the whole Web page in notepad, the only difference is you have to type in the tags below yourself.)
When you create a Web page in an HTML Editor, you don't have to type in the tags, the editor creates them for you behind the scenes. If you use a text editor like Notepad, then you have to type the text and the tags yourself. I prefer the second way (text editor) so I can control every aspect of the Web page. Using a Web editor is the easiest way. You can do either way for this assignment.
- The text that ends showing up when viewed in a web browser.
- And the HTML tags that tell the browser how to display the images and text.
You should now see a document that has tags which are
text in brackets <>,
and just text.
Any text you see inside < > are considered tags.
Tags are instructions to the browser how to display the text. Here is an
example how to center text:
As you see the when your done centering the text you use the same tag but with
- <center> This text would be centered </center>
This text would be centered
The following explains HTML and some of the tags associated with creating your own HTML. Below that is an explanation on how to take a picture from the Internet and insert it into your Web page, and beyond that is an explanation on FTP and how to host your Web page on TREX2.
Here are the other main tags:
<html> </html> This
starts the html page and the closing bracket is at the end
<title> </title>
Defines the title of the page
<body> </body> This
is where the main part of the page is defined.
In the body tag you can also describe the background
<body bgcolor="ffffff">You can define the font color the same way:
<font color="000000"> </font>And font size
<font size=+2 color="112233"> </font>Other ways of defining font size are by declaring the text a heading, there are six different headings
C0LORS are defined with three variables RGB, as you notice
above when I define a color I use 6 digits. The first two are the RED variable,
the next two are the GREEN amount and the last two are the BLUE amount.
You can make any color you want by changing these variables.
The amounts are 0 - F or 16 levels. It's a Hexdecimal
representation of numbers.
So the following:
<color = "ffff00">
would mean RED = 1616 GREEN = 1616 and BLUE would be
at 00.
Full red, full green and no blue makes YELLOW.
There are several tables out on the internet that tell
you what do use to make certain colors.
Other very useful tags
<b> text </b>
Bold
<u> text </u>
Underline
<i> text </i>
Italized
<p>
&nbs p; Makes a new paragraph
<br>
&n bsp; start a new line
The <br> doesn't need a closing </br> and it's
also the most used tag.
HYPERTEXT LINKS
To make your text a hypertext link use the following:
<a href="http://webpage"> link </a>Hint: if the webpage your trying to link is in your same folder you don't have to put the whole http://webpage stuff you can just link it like this
<a href="page.html"> link </a>PRETTY PICTURES
The tag to display a picture is
<img src="picture.gif">
Most web browsers use pictures with the extensions .jpeg, .jpg, or .gif. So if you are trying to display a scanned in picture, make sure you scan it in as a .jpg or .jpeg. The other, .gif is usually drawings or animations.
To take a picture from someone else on the web, this is how you do it:
MSU WEB PAGES
If you have an account with TREX2 this is how to display your web page to the world so you can wow your friends and family.

Which reminds me to show how to do a link for email:
<a href="mailto:yourloginname@montana.edu">
mail me </a>
To turn in your homework follow the instructions in the
Lab Manual.