Referencing

How to Reference a Website (APA 7 and Harvard)

Aadam Mae By Aadam Mae · December 2, 2026 · 11 min read
Home > Resources > Referencing > How to Reference a Website (APA 7 and Harvard)

How to reference a website comes down to four building blocks: who made the page, when it was published or updated, what the page is called, and where it lives online. Once you know where each piece goes in APA 7 and Harvard, you can reference almost any webpage correctly in under a minute.

Key takeaways

  • Every web reference is built from four parts: author or organisation, date, page title, and site name plus URL.
  • No author? Use the organisation. No organisation either? Start with the page title.
  • No date? Write “n.d.” in both APA 7 and Harvard.
  • APA 7 only asks for a retrieval date when the content is designed to change. Many Harvard guides always ask for an access date.
  • Reference the specific page you used, not the homepage, unless you are citing the whole site.
  • Harvard has several versions, so always check your unit outline or university style guide.

Why website references go wrong so often

Websites do not behave like books. Pages lack title pages, authors hide in footers, and dates appear as “last reviewed” rather than “published”. Students then guess, and markers notice the guesswork.

The fix is a repeatable method. Instead of memorising dozens of patterns, learn the four building blocks below and decide, for each one, where it sits in your chosen style.

If you need the full rulebook for either style, our APA 7 referencing guide and Harvard referencing guide cover books, journals and everything else in detail.

The four building blocks of a web reference

Every webpage reference, in any style, is assembled from the same four parts. Find these on the page first, then arrange them in the order your style requires.

Author or organisation responsible for the pageDate the page was published or last updatedTitle of the specific page or documentSite name and the full URL
The four building blocks of a website reference

Notice that the title belongs to the page you actually read. The site name is the larger website that hosts it. Mixing these two up is the most common slip we see.

Finding the author, date and title on a page

Start at the top of the page, just under the headline, where bylines usually sit. If you find nothing, scroll to the footer and check the “About” section.

For the date, look for “Published”, “Updated” or “Last reviewed”. Use the most recent date the page states. A copyright year in the footer covers the whole site, so it is a last resort.

For the title, use the main heading on the page rather than the text in your browser tab, which is often shortened or padded with the site name.

Taking thirty seconds to screenshot the page is wise. Pages change or vanish, and a screenshot proves what you read if a marker queries it.

APA 7 and Harvard compared for a webpage

The two styles use the same ingredients but arrange and punctuate them differently. APA 7 places the date in brackets straight after the author and italicises the page title. Harvard usually sets the year in brackets, uses “Available at:” before the URL, and adds an access date.

Situation APA 7 Harvard (common Australian pattern)
Page with an individual author Author, A. A. (Year, Month Day). Title of page. Site Name. URL Author, A.A. (Year) Title of page. Available at: URL (Accessed: day month year).
Page with an organisation as author Organisation Name. (Year, Month Day). Title of page. URL (leave out the site name when it matches the author) Organisation Name (Year) Title of page. Available at: URL (Accessed: day month year).
Page with no date Author, A. A. (n.d.). Title of page. Site Name. URL Author, A.A. (n.d.) Title of page. Available at: URL (Accessed: day month year).

Harvard is not one single standard. Some universities use italics for the title, some add the publisher, and some want angle brackets around the URL. Treat the table as a typical pattern, then match it to your own guide.

Referencing a website with no author

When no individual is named, look for an organisation responsible for the page, such as a government department, university or charity. That organisation becomes the author in both styles.

If there is genuinely no author or organisation, move the page title into the author position. In APA 7, the title then comes first, followed by the date. In Harvard, the title also leads the entry and the in-text citation uses a shortened title.

Do not write “Anonymous” unless the source itself is signed that way. Choosing a poor source because it is easy to cite is also a red flag. A page with no accountable author is often a weak foundation for an academic claim, so check whether a more authoritative source exists.

Referencing a website with no date

Write “n.d.” (no date) where the year would go. This works in APA 7 and in nearly every Harvard variant. The in-text citation uses it too, for example (Nguyen, n.d.).

Before settling for “n.d.”, check carefully. Many pages show a date near the byline, in the page source, or at the bottom beneath “Last updated”. A real date is always better than “n.d.”.

Because undated pages are likely to change, Harvard referencing leans on the access date to show which version you saw. APA 7 may also ask for a retrieval date when the page is designed to change over time.

Drowning in a long list of web sources?

Our writers build clean, consistent annotated bibliographies in APA 7 or Harvard, so every website, report and journal article is formatted and summarised to your unit’s standard.

See the service Get a Free Quote

Do you need an access or retrieval date?

In APA 7, a retrieval date is generally included only when the content is likely to change and is not archived. Examples are a live social media profile, a constantly updated statistics dashboard or a wiki page. A dated news article or a static report does not need one.

Many Harvard guides take the opposite approach and ask for “Accessed” followed by the date, for every online source. Both approaches are valid; they just belong to different style guides.

The safest habit is simple. Record the date you viewed each page while you research, so you can add it whenever your style needs it. Then follow the rule printed in your unit guide, not the one your friend used last semester.

Citing a whole website versus a single page

If you refer to one article, policy or statistics page, reference that page. If you are discussing a site as a whole, such as noting that a university has a careers portal, you can mention the site in your sentence and give the URL in brackets.

In APA 7, a general mention of a whole website needs no reference list entry. Name the site and include the address in the text. Only pages you quote, paraphrase or draw evidence from belong in your reference list.

Within one site, each page you use gets its own entry. Two articles from the same organisation are two references, distinguished by their titles and dates.

Example: one webpage referenced in APA 7 and Harvard

Imagine you used a page titled “Understanding sleep and study performance”, written by T. Nguyen, published on 12 March 2024 on a site called Example Health Hub. The details below are illustrative only.

APA 7 reference list entry:
Nguyen, T. (2024, March 12). Understanding sleep and study performance. Example Health Hub. https://www.example.com/sleep-study

APA 7 in-text citation:
(Nguyen, 2024) or Nguyen (2024)

Harvard reference list entry:
Nguyen, T. (2024) Understanding sleep and study performance. Available at: https://www.example.com/sleep-study (Accessed: 2 December 2026).

Harvard in-text citation:
(Nguyen 2024) or Nguyen (2024)

Note the differences: APA 7 includes the month and day, the comma inside the in-text bracket and the site name. Harvard uses the year only, no comma in the in-text bracket and an access date.

Online PDFs, reports and social media

A PDF found on a website is usually a report, a journal article or a policy document. Reference it as that type of source, not as a webpage. A government report in PDF form is cited as a report, with the organisation as author and the URL at the end.

Social media posts follow their own patterns in both styles, usually including the account name, handle, date and the start of the post text. Check your style guide, because these entries vary more than standard webpages.

Newer source types such as AI tools also need special handling. Our guide on how to reference ChatGPT explains the current approach, and you should confirm whether your unit allows such sources at all.

Common mistakes markers circle

  • Pasting a bare URL with no author, date or title.
  • Using the homepage address instead of the page you actually read.
  • Putting the site name where the page title should go.
  • Mixing APA 7 and Harvard punctuation in one reference list.
  • Leaving a cited page out of the reference list, or listing sources never cited in the text.
  • Including a dead link with no way for the marker to check it.

For more on where this fits into your whole referencing workflow, browse our referencing resources.

A quick checklist before you submit

  1. Does every webpage cited in the text appear in the reference list, and the reverse?
  2. Is the author, organisation or title in the correct position for your style?
  3. Is the date as specific as your style allows, or marked “n.d.” where none exists?
  4. Does the URL lead to the exact page, and does it still work?
  5. Is the formatting (italics, punctuation, hanging indent, alphabetical order) consistent from the first entry to the last?

A short list like this catches most of the marks students lose. If you want a professional second set of eyes, our editors check reference lists as part of proofreading and editing. As always, reading your unit’s guide beats any general advice, including ours.

One note on integrity: we help you understand referencing and polish your work, but you should always be able to explain and defend the sources in your own assignment, and follow your university’s academic integrity policy.

Want your whole assignment referenced and polished?

From sourcing credible web references to final formatting in APA 7 or Harvard, our Australian-based writers and editors support you at every stage, with free revisions and on-time delivery.

See the service Get a Free Quote

Frequently asked questions

How do I reference a website with no author?

To reference a website with no author, use the organisation responsible for the page as the author. If no organisation is named, move the page title into the author position and put the date after it. Avoid writing “Anonymous” unless the page says so.

How do I reference a website with no date?

To reference a website with no date, write “n.d.” where the year would normally appear, in both APA 7 and Harvard. Check the page carefully first, since many sites display a published or updated date near the byline or footer.

What is the difference between citing a whole website and one page?

Citing a whole website means mentioning the site generally, while citing one page means referencing the specific article you used. In APA 7, a general mention only needs the site name and URL in your text. Any page you draw evidence from gets its own reference list entry.

Do I include an access or retrieval date?

You include an access or retrieval date when your style requires it. APA 7 generally asks for one only when the content is likely to change, such as a live profile or dashboard. Many Harvard guides ask for an “Accessed” date for every online source, so check your unit guide.

How do I cite an online PDF or report?

To cite an online PDF or report, reference it as a report (or journal article, if that is what it is), not as a webpage. Use the organisation or authors, the date, the document title and the URL where you found it.

How do I cite social media in APA 7 or Harvard?

To cite social media, follow the specific pattern in your style guide, which usually includes the account name, handle, date, the opening words of the post and the URL. These formats vary between guides, so confirm the exact version your university expects.

Can I use a website as a source at all?

You can use a website as a source when it is credible, current and suitable for your task. Government, university and professional body sites are often acceptable, but many units prefer peer-reviewed journals for key claims. Check your assessment brief.

Should my APA 7 and Harvard references ever be mixed?

Your APA 7 and Harvard references should never be mixed in one assignment. Pick the style your unit requires and apply it to every entry, including punctuation, italics and in-text brackets, so your reference list looks consistent.

Aadam Mae
Written by Aadam Mae

Dr Aadam Mae is a professor of environmental science at a leading university in Australia. He holds a PhD from the University of Melbourne and has published numerous articles and blogs on climate change, biodiversity, and sustainable development. Mae’s latest research focuses on the impact of climate change on marine ecosystems and the role of ocean conservation in mitigating these effects.

View all articles by Aadam Mae  ·  Editorial standards

WhatsApp
Buy Assignment Online is an independent academic support and writing service. We are not affiliated with, endorsed by, sponsored by, or otherwise associated with any university, college, or examination board. All institution names, logos, and trademarks referenced on this site are the property of their respective owners and are used for identification and descriptive purposes only. Our services provide research, reference, and drafting assistance intended for use in accordance with your institution’s academic-integrity policies.