Job Recruitment Website - Job seeking and recruitment - How do html hyperlinks point to files in local folders?

How do html hyperlinks point to files in local folders?

The two files are not in the same folder or the same path, so they can be linked by hyperlinks. Generally, the relative path we use may also use the absolute path.

Tool materials: editor, browser

1. When two file words are in the same directory, the code is as follows:

& lt answer? href = " test.html " & gt& lt/a & gt; 2. If test.html is in the previous directory of the current file, the code is as follows:

& lt answer? href= "../test . html " & gt; & lt/a & gt; 3. If the path code is complex, it should be an absolute path. The code is as follows:

& lt answer? href = " c:/test/test . html " & gt; & lt/a & gt; Generally used in relative path:

. /indicates the current directory.

../indicates the parent directory.

/indicates the root directory