88%(8)7 out of 8 people found this document helpful
This preview shows page 1 - 3 out of 8 pages.
CS200 Final RevisionHTML1. URLs<a href="http://jcbserver.cs.uwaterloo.ca:80/cs200/search/search.html"> search </a>)httpProtocoljcbServerServer’s local namecs.uwaterloo.caDomain in which the server is locatedjcbServer.cs.uwaterloo.caserver’s host domain name80Port on which jcbServer’s web server application is listening/cs200/search/search.htmlAbsolute path from the server’s web root folder to thefile2. Client-Server File SharingClient: lab Mac; slower, cheaper, smaller disksServer Machine: student.cs; faster, more expensive, bigger disksServer Application: AppleShare; running on the server machineShare Points: folders on the server that are made available over the networkNetwork Disks: “mounting” a share point, creates a “network disk” on your client machineNetwork Folders: subfolders (aka subdirectories) of a network diskBrowser: client uses a “browser” to request & display web pagesServer 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 startedWeb 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>
</table>TR: table rowTD: table cell/definition4. Relative Path<a href="fragments/bio/biography.html">John C Beatty</a>fragments/bio/biography.html: relative path to the target file5. Relative vs Absolute PathAbsolute 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 folderNecessary between machinesif a host domain name is present, the path is necessarily absoluteuse absolute pathwhen two files are more likely to be moved separatelyRelative Path:<a href="•• /•• /2nd%20Year/cs200/cs200.html">CS200</a>../ means go up one level to the parent folder../../ means go up two levelscs200/cs200.html is also a relative path
You've reached the end of your free preview.
Want to read all 8 pages?
Web page, World Wide Web, Web server, relative path, web root folder