The main types of coral reefs are fringing reefs, barrier reefs, and atolls.