Have small clarifications,
As of my knowledge these are the relative and absolute paths,
Completely relative: <img src="kitten.png"/>
Absolute in all respects: <img src="http://www.foo.com/images/kitten.png">
What is the difference between Relative path and absolute path?
Is there any performance issues occur for using these paths?
Will we get any secure for the sites ?
Is there any way of converting absolute path to relative
What is the difference between Relative path and absolute path?
One has to be calculated with respect to another URI. The other does not.
Is there any performance issues occures for using these paths?
Nothing significant.
We will get any secure for the sites ?
No
Is there any way to converting absolute path to relative
In really simplified terms: Working from left to right, try to match the scheme, hostname, then path segments with the URI you are trying to be relative to. Stop when you have a match.