Hydrozoans are related to jellyfish and corals and belong to the phylum Cnidaria .
The Hydrozoa are a class of the phylum Cnidaria .