Mainly there are two types of linking
1. Internal linking
2. External Linking
Internal Linking : Internally connect to your website, one page goes to different pages on the same website
External Linking : Link goes from one domain to another domain it;s call external link.
Thanks