Titles of full-length books are in italics. Titles of articles and short stories are in quotes. Underlining used to be a substitution for italics, but not any more since basically everyone has access to a word processor. However, if you're writing it out by hand, underlining is still the accepted method.