22
1 INE 1020 Introduction to Internet Engineering Tutorial 3 Discussion on Homework 1

1 INE 1020 Introduction to Internet Engineering Tutorial 3 Discussion on Homework 1

Embed Size (px)

Citation preview

1

INE 1020 Introduction to Internet Engineering

Tutorial 3 Discussion on Homework 1

2

Overview

1. Lab arrangement2. Assignment 1 Discussion3. Uploading files to your INE account4. Assignment 1 Q & A5. More about HTML (if time allows)

3

Lab 2

Not going to be discussed in this tutorial

You may raise questions during the lab sessions or approach me directly after class

I’ll explain the experiment during the lab sessions

4

Homework 1

INE 1020 Assignment 10% of your final grade Individual homework Due date: 23:59:59 7th Oct 2003 What to submit:

A hardcopy report Webpages on your INE account

5

Homework 1

Design and create a website for a company, either: A book shop A shop selling mobile phones

Please don’t pick an existing company due to copyright issues

you may learn from websites like Amazon.com, cp1897.com, etc.

6

Homework 1

Must have at least FOUR different pages Home Shop information Merchandises and prices Promotional Offers Others (if necessary)

7

Web Contents

Home Start up page for the website Welcome greetings Company’s logo Disclaimer Links to different pages Links should be provided in other pages

for users to get back to the home page

8

Web Contents

Company information General Introduction Shop locations Opening hours Contact information

9

Web Contents

Merchandises & Prices A list of goods being sold their corresponding prices Include an image for each of them

10

Web Contents

Promotional Advertisement Best-Buy goods Weekly special Etc

Others Anything you want to include

11

Web Contents

You are advised to include: frame, link and picture (including

background) Include the use of table. Include the use of audio and/or video “contact me” function for the users so

that they can send mails to you Please use your real e-mail address

12

Written Report

Include the following in your report Name, Student ID and Department Web page address & Email address The basic structure of your web page (a

tree diagram of your web page) A brief description of the features you

used in each page

13

Marking and Submission

Marking: please refer to the assignment specification

Upload your web pages by the deadline

Submit your report by the deadline The assignment collection box is

located next to SHB 726

14

Uploading files to your INE account

Configure your INE UNIX account for web publishing Use SSH/Telnet to connect to an INE machin

e Machine name: gateway.ine.cuhk.edu.hk Login using your INE login and password Web files must be put under the directory “

public_html”

15

Uploading files to your INE account

Useful UNIX commands pwd

Query your current location cd

Change directory “cd ..” => jump up to the parent directory

mkdir Create a new directory

16

Uploading files to your INE account

Useful UNIX commands rmdir

Remove a directory chmod

Change the access rights of a file

17

Uploading files to your INE account Uploading files

FTP to an INE Machine Login Upload your files under “public_html”

18

More about HTML(If time allows) Frames

Display more than one HTML file at a time

If used properly, frames make your site more readable and usable

19

Frames

20

Frames

<frameset cols="150,*"><frame name=“contents” target=“main” src="index_

files/left.htm"><frame name=“main” src=“index_files/right.htm” targ

et="_self">

<noframes><body>

<p>This page uses frames, but your browser doesn't support them.</p></body>

</noframes></frameset>

21

Frames

22

Frames

<FRAMESET COLS = "110,*"><FRAME NAME = "nav" SCROLLING = "no" SRC = "nav.htm

l"><FRAMESET ROWS = "175,*">

<FRAME NAME = "picture" SRC = "picture.html“ NORESIZE><FRAME NAME = "main" SRC = "main.html">

</FRAMESET><NOFRAMES>

<P>This page uses frames, but your browser doesn't support them.</P></NOFRAMES>

</FRAMESET>