-5

In <a href="/tips/page.html">

/tips/page.html is a relative path or absolute path?

EDIT: This question is not duplicate. i have read http://stackoverflow.com/questions/181805/absolute-path-relative-path. That question says it is absolute path while http://www.coderanch.com/t/628765/Servlets/java/Relative-absolute-path says it is relative. therefore i have asked.

a Learner
  • 4,944
  • 10
  • 53
  • 89

1 Answers1

0

That is an absolute path An absolute path is one wherein you give complete path of the resource. Usually it starts with the root directory (/) A relative path is often the one where you don't give the complete path; it is usually the current location of the resource

Saurabh Jain
  • 1,600
  • 1
  • 20
  • 30
  • in that case, / is referring to the current directory and we are not giving the complete path. It should be then relative path. – Miller Feb 14 '14 at 17:22
  • please read `http://www.coderanch.com/t/628765/Servlets/java/Relative-absolute-path`. In this it is saying that this is relative path. – a Learner Feb 14 '14 at 17:22
  • @aLearner it will be way better if you do your tests about it, then come up with your conclusion. – Luiggi Mendoza Feb 14 '14 at 17:24