Igneous rock that forms on the earth's surface is called?

When igneous rock forms on the Earth's surface, including on the ocean floor, it's called extrusive. It's called intrusive rock when it forms beneath Earth's surface, such as in mines.