See APA formatting rules for all other types of sources, and a sample APA paper from Research and Documentation Online Guide, by Diana Hacker
Basic format for a print book:
Basic format for an article from an online database:
These examples show differences to the in-text citation when the author's name is used to introduce the quote or paraphrase and when it is not:
If there is one author:
If there are two authors:
If there are no page numbers:
Prince William and Kate Middleton announced their wedding date to their guests via a save the date fax (Derschowitz, 2011).
If the author is unknown:
Either include the title of your reference within the sentence or use the first word or two of the references title at the end of the quote or paraphrase. Use quotation marks for titles of an article, a chapter, or a web page. Use italics for titles of a periodical, a book, a brochure, or a report.