This logo was used for the third edition rulebooks, as is both on the top of the front cover and on the label side of the book.
This logo was used for the fourth edition rulebooks.
This logo format was used for the fifth edition rulebooks.
On the official rulebooks, a white version of the topmost logo is used on a red background in the bottom left corner of the front cover. A logo with the "D&D" abbreviation is used on the top of the front cover instead of the full text.
Dungeons & Dragons
Forgotten Realms | Spelljammer | Ravenloft