(Probably a silly question) I have this link on my HTML file (common HTTP):
<a href="MyWeb.html">Click here</a>
But I would like the MyWeb.html
file to be accessed via HTTPS, and I assume I can not simply change the code to:
<a href="https://MyWeb.html">Click here</a>
... because the MyWeb.html
file is not (or could not be) at the root web directory.
How can I solve this using HTML, CSS and/or JavaScript?