80 likes | 235 Vues
Determining the URL for a Web Document. Components. The URL of a web document consists of The server address The folder structure The file name. 1. The server address. The web address for the student web folders in the COE is http://students.ed.uiuc.edu Note that there is no www.
E N D
Components The URL of a web document consists of • The server address • The folder structure • The file name
1. The server address • The web address for the student web folders in the COE is http://students.ed.uiuc.edu • Note that there is no www.
2. The folder structure • My eport home page (called index.html) is stored in a folder called “eport8", which is under my home base folder called “rchen4“ • So the folder structure is rchen4 then eport8. • This folder structure becomes /rchen4/eport8/ in the URL.
3. The File Name My ePort home page is called index.html This is the COMPLETE file name, including the extension after the dot.
The URL Server address The URL for my eport home page is the combination of the above three. It ishttp://students.ed.uiuc.edu/rchen4/eport8/index.html Folder structure Complete file name • If a file name is called index.html, it can be omitted.
Similarly My resume page is called resume.html which is in the same folder as my ePort home page. The URL for my resume page is http://students.ed.uiuc.edu/rchen4/eport8/resume.html I also have a picture called fall.jpg in a folder called images, which is in my eport8 folder. So the URL for this particular picture ishttp://students.ed.uiuc.edu/rchen4/eport8/images/fall.jpg
Summary Server address Folder structure http://students.ed.uiuc.edu/rchen4/eport8/images/fall.jpg Complete file name