How do you write a book title in MLA?

In MLA style, book titles appear in italics, with all major words capitalized. If there is a subtitle, separate it from the main title with a colon and a space. For example:

Dreams from My Father: A Story of Race and Inheritance

The format is the same in the Works Cited list and in the text itself. However, when you mention the book title in the text, you don’t have to include the subtitle.

The title of a part of a book – such as a chapter, short story or poem in a collection – is not italicized, but instead placed in quotation marks.