You asked:

do giraffes have knees

Yes. Giraffes do have knees.
giraffe
giraffe
giraffe