There are two main types of liver cancer. These are named after the part of the liver in which the cancer first develops:
National Cancer Institute. Liver cancer treatment (PDQ): health professional version