Difference Between Relative Path And Absolute Path

RegisterLogin
Difference Between Relative Path And Absolute Path
Post Description: Difference Between Relative Path And Absolute Path
Tags: Difference, Between, Relative, Path, And, Absolute, Path
This Post Was Posted On Oct 06, 2009 By Webune Support #2479
Welcome to Webune Forums, You can find excellent web hosting options at Webune.com.. this short tutorial we'll try to explain the diferences between relative path and absolute path.

on this tutorial we will cover:
difference between relative absolute links


Absolute path: The absolute path means the 'root' path. in other words, the starting path. for example this post you are reading right now, the absolute path is:
http://www.webune.com/forums/difference-between-relative-path-and-absolute-path.html


Relative - the relative path simply means how the path is in relationship with the current page;

for example this post you are reading right now, the relative path is:
/difference-between-relative-path-and-absolute-path.html

as you can see from the examples, you can create you links as absolute or relative. the BEST way to program your links is to make them absolute because if you go with the absolute linking format, you will most likely avoid mistakes in your linking pages.

hope this helped you explained how relative and absolute paths are different.


Leave Your Comments
©2011 Webune Forums - Mon Dec 19, 2011 12:51 am
Powered by: Webune Forums V3