From NOAA’s website:
“Coral reefs begin to form when free-swimming coral larvae attach to submerged rocks or other hard surfaces along the edges of islands or continents. As the corals grow and expand, reefs take on one of three major characteristic structures —fringing, barrier or atoll.”
And here we have the Great Barrier Reef although fringing and atoll reefs are also present.
