Question:
In addition to an absolute or relative path to resources, <a href="smth">...</a>
can also contain special links: execute a javascript, send an email, run a program, etc. Where can I read the standard for such links?
Answer:
You can put JS in links, for example, there is a JavaScript function function
, then using the link we can call it
href="javascript:function();"
For example, you can call a modal window. There is something about the letter
href="mailto:info@mail.com"
By clicking on such a link, the browser will offer to send an email to this address (not Google Chrome)