HTML linking to a local HTML file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HTML linking to a local HTML file

Hi! Very Noob question here but I am just starting, and tried to google the solution for that on stack overflow but those solutions dont seem to be working... https://stackoverflow.com/questions/12021781/the-right-way-of-setting-a-href-when-its-a-local-file The idea is to make like a landing page with name input and then when it clicks submit it goes to this second html file. When I try to link, Google Chrome inserts some %80% characters and the link becomes broken....

11th Jun 2020, 2:21 AM
Bruno Coelho
Bruno Coelho - avatar
1 Answer
0
Does your target path and file name contain any invalid characters? http://www.w3bai.com/de/tags/ref_urlencode.html You're trying to link from a local HTML file to another local HTML file? Did you try relative paths?
11th Jun 2020, 3:15 AM
Sandra Meyer
Sandra Meyer - avatar