CS200 Final Revision.docx - CS200 Final Revision HTML 1 URLs <a href=\"http\/jcbserver.cs.uwaterloo.ca:80\/cs200\/search\/search.html\"> search <\/a> http

CS200 Final Revision.docx - CS200 Final Revision HTML 1...

This preview shows page 1 - 3 out of 8 pages.

CS200 Final Revision HTML 1. URLs <a href=" http :// jcbserver . cs.uwaterloo.ca :80 /cs200/search/search.html "> search </a>) http Protocol jcbServer Server’s local name cs.uwaterloo.ca Domain in which the server is located jcbServer.cs.uwaterloo. ca server’s host domain name 80 Port on which jcbServer’s web server application is listening / cs200/search/search.ht ml Absolute path from the server’s web root folder to the file 2. Client-Server File Sharing Client : lab Mac; slower, cheaper, smaller disks Server Machine : student.cs; faster, more expensive, bigger disks Server Application : AppleShare; running on the server machine Share Points : folders on the server that are made available over the network Network Disks : “mounting” a share point, creates a “network disk” on your client machine Network Folders : subfolders (aka subdirectories) of a network disk Browser : client uses a “browser” to request & display web pages Server Subtree: a web server can only return files in the “server subtree” Web Root Folder: sometimes that’s rooted in the folder holding the server app, usually this “web root folder” can be set when the web server is started Web Page: a text file containing text to be displayed, tags, URL (Uniform Resource Locator) 3. Tables <table> <TR> <TH></TH></TR> <TR><TD></TD></TR>
Image of page 1
</table> TR: table row TD: table cell/definition 4. Relative Path <a href=" fragments/bio/biography.html "> John C Beatty </a> fragments/bio/biography.html : relative path to the target file 5. Relative vs Absolute Path Absolute Path: <a href=" / 2nd%20Year/cs200/cs200.html">CS200</a> The host domain name is implicit. The same as the referencing web page. Always start at the web root folder Necessary between machines if a host domain name is present, the path is necessarily absolute use absolute path when two files are more likely to be moved separately Relative Path: <a href=" •• / •• / 2nd%20Year/cs200/cs200.html">CS200</a> ../ means go up one level to the parent folder ../../ means go up two levels cs200/cs200.html is also a relative path
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 8 pages?

  • Spring '14
  • BarbaraDaly
  • Web page, World Wide Web, Web server, relative path, web root folder

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture