I am working on a simple GUI for practice in HTML. I want to add an Expiry Timer so that when I click the link it expires after 5 minutes and triggers a mail to me recording all the responses. I got resources to add a timer but could not find anything that hints at the link being invalidated after that 5 minutes.