Which correctly shows the title of a book?

 - The cat in the Hat
 - The Cat in the Hat
Capitalize the first word, the last word, and every important word in between. The words in and the are not important, so they should not be capitalized.
The correct title is The Cat in the Hat.