IT237 Week 4 Checkpoint

IT237 Week 4 Checkpoint - Relative links are more easily...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Absolute and Relative Links 1 Absolute and Relative Links Axia College, University of Phoenix
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Absolute and Relative Links 2 Absolute and Relative Links Absolute links define a path to files in locations other than the folders where the HTML files reside such as another server or website. It is known as an absolute address or link because the path to reach the desired file is a specific route containing the entire address and includes: the protocol, domain name, directory and the file name itself. <img src=”http://www.mywebsite.com/IT237Name/images/imgLake.jpg”/> To locate the image source, 1. The browser starts at the protocol and domain name (http://www.mywebsite.com) 2. It then locates the directory (it237) 3. Then the folder (images) 4. Lastly, it finds the file imglake.jpg.
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Relative links are more easily located because the files are all located within the same file folder structure on the same website; therefore, the browser knows where to look for the specific file. A type of shorthand can be used when designating which file to search for, the only name that is really necessary is the file name itself. <img src=images/Lake.jpg/> To navigate to the image source from your home page (index.html) the browser automatically navigates directly to that image because it is located within the same set of folders as the home page. Search engines do not differentiate between absolute or relative links however if a designer uses too many absolute links it may increase page download times....
View Full Document

This note was uploaded on 07/25/2010 for the course IT IT237 taught by Professor Jerrykennedy during the Spring '10 term at University of Phoenix.

Page1 / 2

IT237 Week 4 Checkpoint - Relative links are more easily...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online