Is absolute or relative path better?

Is absolute or relative path better?
Answer
Using relative paths allows you to construct your site offline and fully test it before uploading it. An absolute path refers to a file on the Internet using its full URL. Absolute paths tell the browser precisely where to go. Absolute paths are easier to use and understand.
 

Tìm kiếm

Back
Top