A felsic extrusive igneous rock is formed from

silica-rich lava at Earth’s surface

basaltic lava at Earth’s surface

silica-rich magma within the Earth

basaltic magma within the Earth