Note that, both these styles come into play only when the name of the author is clearly mentioned in the article. Some pages do not contain the name of the author, this makes the task in APA style or MLA style fairly difficult. In such cases, simply putting the title of the article, the website, the date of visiting, and the URL of the page is sufficient.