France beat Austria to boost their chances of staying in the Nations League.
Kylian Mbappe's goal was ruled out for not being in bounds and Aurelien Tchouameni's kick was tipped onto the bar.
Mbappe took on several defenders before shooting in from 16 yards.
Giroud brilliantly headed in France's second.
He is 70 days younger than Roger Marche when he scored against Spain.
Henry had a France record of 51.
If France had lost, they would have been thrown out of the group.
Had Croatia won in Zagreb, they would have sewed up top spot.
The defender scored his first international goal. Two minutes later Lovro Majer scored the winner from outside the box after Christian Eriksen had tied the game.
Croatia needs to beat Austria on Sunday to book a Euro 2024 play-off place.