There are no “avian dinosaurs”, though. Pterodactyls aren’t dinosaurs either; they’re pterosaurs. To be classified as a dinosaur, it has to be a land animal that has its legs underneath its body, no to the sides (like a croc), among other characteristics.