I have seen a few examples with <a href=".">link to folder</a> but i realy don’t understant what it is or how to manipulate it or get it to set the specific html page within the folder.
My website is a basic one with only CSS and HTML
it is formatted as
[file]home.html // C:/Users/user/Desktop/mywebsite/home.html
[folder]Order // C:/Users/user/Desktop/mywebsite/order/
↳[file]ordersheet.html // C:/Users/user/Desktop/mywebsite/order/ordersheet.html
I want to try set the folder path C:/Users/user/Desktop/mywebsite/order/ as the file ordersheet.html C:/Users/user/Desktop/mywebsite/order/ordersheet.html how can this be done?
To set
/ordertoordersheet.htmlchange the name ofordersheet.htmltoindex.htmlThe
index.htmlis the default file that the server will serve to the visitor when he visits that specific directory.link text= what you want it to say to the user/Users/user/Desktop/mywebsite/order/= directory pathKeep in mind that this will only work locally. If you have it up on a server, visitors don’t have access to your full
C:/drive so you have to use relative links, i.e. just/order/