The phylum of animals of medusoid and polypoid form, comprising the two subphyla Anthozoa and Medusozoa.