A
A
Aleksandr2015-04-28 10:32:55
HTML
Aleksandr, 2015-04-28 10:32:55

How to link to a folder in html css?

How to write a link to a folder in html, css, so that the folder itself opens, and not the files in it, we don’t depend on which media F / E / C b etc .. can it be archived? maybe like this
1.file://
2. relative paths

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2015-04-28
@NeiroNx

<a href="1">Папка</a>
opens a folder named "1" located in the same folder as the html file.
opens a folder with the name "1" located in the horse of the disk as the html file.
How the folder opens depends on the browser.
If the absolute path is not known, then the relative path is used.

M
Maxim Timofeev, 2015-05-16
@webinar

In html and css, all relative links are specified from the location of the html and css file itself. It doesn't matter what medium it is on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question