Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which line of code instructs the browser to look for a directory named …

Question

which line of code instructs the browser to look for a directory named mysite that begins one level higher than the page you are currently viewing?
○ ./mysite/index.html
○ ../mysite/index.html
○ mysite/index.html
○ /mysite/index.html

Explanation:

Brief Explanations
  • ./ refers to the current directory (same level as the current page).
  • ../ refers to the parent directory (one level higher than the current page).
  • A path without a leading slash/dot stays in the current directory.
  • A leading / refers to the root directory (top-level of the entire file system).

Answer:

B. ../mysite/index.html