Sunday, October 23, 2011


workbook
has many worksheets

literals vs formulas

sometimes you will make a mistake
formula auditing is a "debugging" tool
Evaluate Formula

Word exam (hands on) - Nov 6

next week, Oct 30, quiz
on material from
SUNDAY, OCTOBER 16, 2011
http://qccs012.blogspot.com/2011/10/something-called-ip-address-httpen.html
http://qccs012.blogspot.com/2011/10/httpqcpages.html
plus, lecture book, ch 3, all sections

Please finish Ch 4 in lecture book
do the quickchecks

From lab book, do Practice Exercises for Ch1 of Excel


start with HTML images
for the src tag, you can give relative or absolute paths

we can store on the same webserver, or pull images from a different webserver
src="/images/pulpit.jpg"
this means that it is on the same webserver
src="http://img.thesun.co.uk/multimedia/archive/00440/cow_682_440047a.jpg"

What I just did, pulling the image from another webserver is called "hotlinking".

not nice; not a good idea
"stealing" bandwidth

we got up to the end of lists
that is it for now for HTML

CSS - cascading style sheets
http://www.w3schools.com/css/default.asp

font tag, and other tags were deprecated

CSS Syntax
selector
declarations
together, they form a CSS rule

simple selectors are based on the tag
class selectors, id selectors

We will start our web pages:
1) log in using WinSCP
2) We will create a folder called public_html
3) We will create a file called main.html inside the public_html folder
4) we will see our webpage in a webbrowser

hostname of OUR webserver is:
cs12.cs.qc.cuny.edu
username: wajo5678
password: 12345678

permissions
three groups:
you, group, universe
actions: read, write, execute

octal means base 8
so far, we have seen base 10 (decimal); base 2 (binary);
each 3 bits corresponds to a single octal digit, for the sake of setting permissions

chmod 705 main.html
would change the permissions to give all rights to the owner, none to the group, and read and execute to the universe


to see your webpage:
hostname/~loginname/filename
http://cs12.cs.qc.cuny.edu/~wajo5678/main.html

404 error: not found
you typed the URL wrong
or filename isn't actually in public_html

403 error: forbidden
you didn't set the permissions correctly

Every folder has two folder within it
One is called .
means myself
One is called ..
means parent

cmd line (DOS), text based interface to the Operating System

cd means change directory (a directory is a folder)
cd .
cd ..

HW: (not to hand it)
go home, log in to WinSCP, make an html page called new.html, put something there
Also, edit main.html

DropBox
https://www.dropbox.com/

No comments:

Post a Comment