An absolute path specifies the location of a resource from the root of the website or the entire URL. It usually starts with a / (if referring from the root of the current website) or includes the full URL (e.g., example.com/images/pic.jpg).
Relative Path A relative path specifies the location of a resource in relation to the current document. It can be ./ (current directory), ../ (parent directory), or just the path without any preceding slashes. Exampleis below
Nice explanation .sir plz wo tags bhi btaen jo ab nhi use hoty..thank you..
At end of this series , we ll discuss it in a lec
Absolute and relative path ko focus krengy koi bhi path ko dety howay???
An absolute path specifies the location of a resource from the root of the website or the entire URL.
It usually starts with a / (if referring from the root of the current website) or includes the full URL (e.g., example.com/images/pic.jpg).
example of absolute is below
Relative Path
A relative path specifies the location of a resource in relation to the current document.
It can be ./ (current directory), ../ (parent directory), or just the path without any preceding slashes.
Exampleis below