The answer is: B. Both require a date of publication, while magazines require the page number of the article.
A book would most likely made by a single author that is responsible for the content of the whole book (on rare occasions, the number of authors are around 2 or 3).
Each pages on the magazine on the other hand, is each made by different writers. Because of this, citation in magazine require page number of the article to truly identify the writer that can be credited to the citation.