href Specifies the destination address. It can be an absolute or relative URL or the name of an anchor. An…