Question: are continents attached to the ocean floor?
Answer: The short answer is, it doesn't. The continental plates are lighter than the ocean plate so they float on top of those plates.