How to set the relative path of the link to the current folder with HTML?

Spread the love

To set the relative path of the link to the current folder with HTML, we use a period.

For instance, we write

<a href=".">Link to this folder</a>

to add a link to the current folder by setting the href attribute to a period.

Leave a Reply

Your email address will not be published. Required fields are marked *