What Is The Difrences Between Absolute Path And Document Relative Path
what is the difrences between absolute path and document relative path
what, is, the, difrences, between, absolute, path, and, document, relative, path
What Is The Difrences Between Absolute Path And Document Relative Path
Post Description: what is the difrences between absolute path and document relative path
POST# 375
Posted On: Fri Feb 29, 2008 12:01 pm
chan
Topic: What Is The Difrences Between Absolute Path And Document Relative Path
ok, i am going to try to explain this as simple as i can possibly can, i know this was hard for me to grasp at the beginning, but i am going to try to teach you what is the difrences Between Absolute Path and Relative Path.

When you create hyperlinks in a web document, you have two options. You can define an absolute or relative path to the target object. While there is only one way make an absolute link path, there are two options when using relative paths. First, and most often used, is a document relative path, and second is a root relative path.

Absolute Paths

example: http://www.webune.com

An absolute path is created whenever your link uses the full URL of an object or page. For instance, http://www.webune.com is an absolute path to a specific web site. This method is the best choice whenever you need to send a visitor to another site or need to get content from another site. While you can use it within your own site, there is rarely ever a need to do so.

Relative Paths
example: images/folder/image.jpg

In the example above, the relative path to http://www.webune.com/images/folder/image.jpg is images/folder/image.jpg As you can probably guess by now, relative paths are used much more frequently than absolute paths. Any time you need to send a visitor to another page within your site or include an object from your site (like an image) on one of your pages a relative link will work just fine. Which form of relative link you should use will depend on how the site is constructed. Document and root relative paths each have a place in the building of a web site. Read on for a break down of each type.


Tue Feb 13, 2007 10:54 pm
1
linux fan
Reply #972
this is a great tutorial guide step by step to show you how to learn what are the differences between absolute and relative paths
Sun May 06, 2007 5:07 am
2
shraddha v. patkar
Reply #973
i liked your views regarding difference between absolute and relative path.

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload