How to create a link to add an entry to a calendar with HTML?

Spread the love

To create a link to add an entry to a calendar with HTML, we set theg href attribute to the calendar URL.

For instance, we write

<a
  href="https://bay02.calendar.live.com/calendar/calendar.aspx?rru=addevent&dtstart=20221119T140000Z&dtend=20221119T160000Z&summary=Summary+of+the+event&location=Location+of+the+event&description=example+text.&allday=false&uid="
  >add to Outlook calendar</a
>

to add a calendar link to create a new calendar event on out look with the to and from date and time, summary and location of the event.

Leave a Reply

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