As of November 2023, Booking.com allows you to put multiple names in the booking:
All names would be printed on the booking confirmation.
A note regarding the previous answer:
A reservation for two guests in the name of one spouse should be sufficient evidence of accommodation for both spouses. Consider this from the point of view of a visa officer. Your husband's visa application will show that he is planning to travel with you. The application will include a hotel booking in your name for two guests. The only logical conclusion is that this booking is intended to accommodate both you and your husband.
While this works most of the time, it's not always the case.
I've applied for Schengen visa for my wife and myself several times.
On the first 2 times (Italian & German consulates) we used one hotel booking under my name. Both times the visa officer accepted it for both mine and my wife's visa application.
A few years later we applied for another Schengen Visa (to the same German consulate). This time however, the visa officer refused to accept the hotel booking made under my name for my wife's application even though we were travelling together.