Include the author's surname and date in your text whether you are directly quoting the material or indirectly paraphrasing or summarizing the website. For example, use Smith (2011) in context with the reference or (Smith, 2011) at the end of the paragraph or sentence.
As with other sources, the copyright of a website is often the publication date of the material on a website. However, this is not always the case; sometimes the publication date is listed as the date of last revision. This is usually located near the bottom of the page. If no date is given for the website use "n.d." to signify that no date was given.
If the website does not list an author, cite the source by placing the title of the website in the context of your text with the reference or quotation. For example: In the article, "A Sample Title: How to Cite a Reference (2011)..." can signify to the reader that you are using information from another source, specifically from the article published in 2011. Alternately, list the first few words of the title in the parenthetical citation at the end of the paragraph in parentheses and include the date, (A Sample Title, 2011).
Page numbers are required if you are directly quoting the text as written or if the indirect reference points to a specific portion of the author's text. If you have used author and date in your text, the page number(s) would be placed at the end of the paragraph in the parenthetical citation, (p. x). However if no direct citation was given in the text, the author's name, date and page number would be placed at the end of the paragraph in parentheses, (Smith, 2011, p. x). Sometimes, websites do not use page numbers. If this is the case, use paragraph numbers in place of the page numbers, (para. x).