Oceanic islands were never connected to a mainland. Some of them lie far away from any continent.
Many oceanic islands are formed by underwater volcanoes, while others are formed by coral reefs.
Islands
Oceanic Islands and How They Form
This is my alert message