The Purdue OWL is the official online guide to the MLA style format. It covers most of the situations you're likely to encounter. Look for the type of work you are citing in the left column. Can't find what you are looking for? Check under Other Common Sources.
The Citation Guides page on Rohrbach Library’s site under Student Tools points toward many tools to help with several citation styles and citation builders.
Most databases provide citation information for the books and articles they use. Look for an icon that looks like quotes or a button that says CITE.
Here is an example from Academic Search Ultimate
This example is from JSTOR