A skin cancer arising from the keratin-producing cells of the epidermis. The term encompasses both basal cell carcinoma and squamous cell carcinoma. The disease is keratinocyte carcinoma (EFO_0010176). Also known as: keratinocyte cancer.