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
- Related articles
- Suining county CDC wages and benefits
- How about Shandong Niuda Electric Co., Ltd.
- Is the recruitment of China Construction No.1 Bureau Group No.3 Construction Co., Ltd. deceptive?
- What about Dongguan Ouyuan Hardware Technology Co., Ltd.?
- Guide words of Qiandao Lake in Zhejiang Province
- How is the tap water quality in Gu Lei Xingang City?
- What is the social significance of solar photovoltaic power generation?
- 202 1 Open Recruitment Announcement of Tianjin Sino-Singapore Tianjin Eco-city Management Committee [35 people]
- Where is the registration location for external recruitment in government institutions and communities in Jiangnan District, Nanning, Guangxi in 2015?
- Who is the owner of Nanhu hanger in Changshu?