The small town is situated about 30 kilometres (19 mi) from Gorizia, the capital of the province, and west of the important port of Trieste. Its name refers to the martyrs Cantius, Cantianus, and Cantianilla, who are said to have been beheaded here in 304 AD.