AHNAK, ANK3, COL12A1, and RB1 were related to the OS of HBV‐related HCC. Here, COL12A1 is linked to hepatocellular carcinoma.