0

Please ,answer me! How to link html file to another html file in the same folder.

Eg. When I click on 'Home' button,I reach another html file.

5th Aug 2022, 3:16 AM
Alice
2 Answers
+ 4
If all the files are in the same folder, then just specify the filename in the anchor 'href' attribute <a href="another_file.html">Link text</a>
5th Aug 2022, 3:58 AM
Ipang
+ 4
Shwe Yee Win As Ipang mentioned and you can link one or numerous files and or add subdirectories, subfiles, subfolder,,, Be mindful however of your hierarchy structuring. <a href="../folder2/landing.html"> 2 </a> <a href="../folder3/landing.html"> 3 </a> Here is a reference that might help you further https://zapier.com/blog/organize-files-folders/
5th Aug 2022, 5:07 AM
BroFar
BroFar - avatar