The lanthanides and actinides are located in the f-block of the periodic table, which is a separate row placed at the bottom of the main table. These elements are also known as the inner transition metals.