-2

HTML href question - What does ..\ do in this statement? What happens when I click on Michael?

<a href="..\canyonoakscc_golf_m23/Member_mgs?user=8xxx&name=Michael&message=" alt="Michael">Michael</a>
Rayees AC
  • 4,426
  • 3
  • 8
  • 31

1 Answers1

1

This path is 'relative' to the current directory. Specifically, .. references the parent directory. This is convention in both Windows and (most) Linux filesystems.

The link is referencing the parent directory of the one that the current page was sourced from.

More information - https://superuser.com/q/153165

Software Engineer
  • 15,457
  • 7
  • 74
  • 102
shreyasm-dev
  • 2,711
  • 5
  • 16
  • 34