Dinosaurs are vertebrates and stood erect, like birds and most mammals; they did not keep their legs sprawling out to the side of their body like most lizards and salamanders do. Also, from the trackways of dinosaurs, we know that they rarely dragged their tail on the ground.