AllCitations logo

AllCitations

How to Cite a Website in Harvard Style (With Examples)

Nora Ellison··16 min read
Harvardcitation guidewebsite

Try it now - paste a URL, DOI, or ISBN

To cite a website in Harvard style, reference the specific webpage you used: author or organisation, year in round brackets, the page title in italics, then "Available at:" with the URL and the date you accessed it in brackets. In the text you write (Author, Year). Everything below follows Cite Them Right, the version of Harvard most UK universities mean when they say "Harvard", and every example comes from a university library guide you can check.

The Cite Them Right format for a webpage

The template, as Robert Gordon University's Cite Them Right Harvard webpage templates set it out:

Author(s) (Year of publication) Page title. Available at: URL (Accessed: Date).

Filled in with RGU's own example:

Amos, J. (2024) Climate change: 'ice bumps' reveal history of Antartic melting. Available at: https://www.bbc.co.uk/news/science-environment-68406880 (Accessed: 28 March 2024).

In your reference list, the page title (from "Climate change" to "melting") goes in italics. The spelling "Antartic" is the BBC's headline as RGU copied it; you reproduce a title as published, typos included.

A student writing notes in a spiral notebook while reading a web article open on a laptop

Element by element:

  1. Author. Surname, then initials with full stops and no spaces between them: Amos, J. If a company, charity or government body wrote the page and no person is named, the organisation goes here instead.
  2. Year of publication. In round brackets, directly after the author. London South Bank University's Harvard webpage guide allows the year the page was last updated as an alternative, which matters for pages that are revised every few months.
  3. Page title, in italics. The title of the page you read, not the site's name. A BBC article is referenced by its headline; "BBC News" does not appear in the Cite Them Right template at all.
  4. Available at: URL. The full web address of the page. Copy it from the address bar; a retyped URL is where typos get in.
  5. (Accessed: Date). The day you read the page, written day month year: 28 March 2024. The full stop goes after the closing bracket.

The in-text citation uses only the first two elements:

  • Parenthetical: (Amos, 2024)
  • Narrative: Amos (2024) suggests that...
  • With a quotation: "..." (Amos, 2024), or According to Amos (2024) "..."

Webpages have no page numbers, and RGU's quotation examples for webpages give none: the citation stays (Amos, 2024) even when you quote word for word.

Worked examples

All of the references below come from published university guides, so you can open each URL and compare. Where a guide's own example has a slip in it, that is noted.

1. A news or magazine article with a named author

Amos, J. (2024) Climate change: 'ice bumps' reveal history of Antartic melting. Available at: https://www.bbc.co.uk/news/science-environment-68406880 (Accessed: 28 March 2024).

In-text: (Amos, 2024). A news story on a broadcaster's website is a webpage in Cite Them Right. If the article appeared in a newspaper, print or online, the newspaper template applies instead, with the article title in single quotation marks and the paper's name in italics; our guide to referencing a newspaper article in Harvard covers that format.

2. An article on a specialist site

LSBU uses this one:

Burke, L. (2018) Carbohydrates? They aren't that simple. Available at: http://www.sportsci.org/news/compeat/carbo.html (Accessed: 14 February 2019).

In-text: (Burke, 2018). Note the old http:// address. Use the URL exactly as it appears when you visit the page, secure or not.

3. A page written by an organisation

Alzheimer Scotland (2024) Living with dementia. Available at: https://www.alzscot.org/living-with-dementia (Accessed: 27 February 2024).

In-text: (Alzheimer Scotland, 2024), or Alzheimer Scotland (2024) suggests that... Most webpages a student cites fall here: NHS condition pages, charity advice pages, company product pages, government guidance. If the page names no individual writer, the organisation that published it is the author. Never write "Anon." or "Anonymous" in its place.

4. An organisation with a well-known acronym

RGU's note on organisation names: if the name is widely known by its initials, such as BBC or NHS, you can use the acronym. Otherwise, write the full name with the acronym the first time you cite it, either World Wildlife Fund (WWF, 2024) or (World Wildlife Fund (WWF), 2024). RGU points to its Essentials Guide for further examples.

The reference list entry starts with whichever form you used in your citations, so the reader can match one to the other. If your first citation reads World Wildlife Fund (WWF, 2024), file the reference under World Wildlife Fund.

5. A page published by a news organisation with no named journalist

The University of Birmingham's Harvard referencing guide gives this:

BBC News (2014) 'Lights out' end of the day of WW1 centenary commemorations. Available at: http://www.bbc.co.uk/news/uk-28632223 (Accessed: 18 July 2015).

In-text: (BBC News, 2014). The guide's own version of this example has two URLs run together with no space between them, a copy-paste slip; the reference above keeps only the second, which is the page itself.

6. A blog post

Blogs get their own template in Cite Them Right because a blog has two titles, the post and the blog:

Author(s) (Year of blog post) 'Title of blog post', Title of blog, Day/month of blog post. Available at: URL (Accessed: Date).

The post title takes single quotation marks and the blog title takes italics. RGU's example:

Thompson, B. (2023) 'Expanding our horizons with ChatGPT', Technology and creativity at the BBC. Available at: https://www.bbc.co.uk/blogs/internet/entries/1c6fd26f-fcd5-473f-9535-f3652ada92ca (Accessed: 3 March 2024).

RGU's template asks for the day and month of the post after the blog title, but its own example leaves them out. Follow the template: if the post shows a date, write it in, for example 3 May, with the year already in brackets after the author. A blogger writing under a pseudonym is cited by that pseudonym, and a blog run by an organisation takes the organisation as author.

7. A wiki article, including Wikipedia

Wikis have no author, so the article title moves to the front:

'Title of article' (Year entry published / last updated) Title of wiki site. Available at: URL (Accessed: Date).

With RGU's example:

'Architecture of Aberdeen' (2023) Wikipedia. Available at: https://en.wikipedia.org/wiki/Architecture_of_Aberdeen (Accessed: 28 March 2024).

"Wikipedia" goes in italics. In-text: (Architecture of Aberdeen, 2023). RGU's example drops the colon after "Accessed"; keep it, as in every other Cite Them Right template. Whether you should cite Wikipedia at all is a question for your module handbook. Many tutors want the source Wikipedia itself cites, but the format above is correct when you do need it.

8. An online dictionary or encyclopaedia entry

Entries in reference works cite the entry title in single quotes and the work in italics, with a DOI in place of the URL where the publisher provides one:

Crook, J.A. (2024) 'Marcus Aurelius', in Encyclopedia Brittanica. Available at: https://www.britannica.com/biography/Marcus-Aurelius-Roman-emperor (Accessed: 19 June 2024).

That is RGU's example, with its spelling of "Brittanica"; the encyclopaedia itself spells it Britannica, so write the correct name in your own reference. When a DOI is available, as with the Oxford Dictionary of National Biography, the reference ends "Available at: https://doi.org/..." with no accessed date, because a DOI does not move.

Special cases

Most website problems are missing information. Cite Them Right has an answer for each gap, and none of them is "leave the source out".

A magnifying glass held over a web page on a tablet, the byline area showing only blank grey placeholder bars

No author

If no person is named, look for an organisation first: the logo, the "About us" page, the copyright line in the footer. A page on a charity's site with no byline is by the charity. Only when there is no identifiable person or organisation does the title move into the author position, in italics:

Title of page (Year) Available at: URL (Accessed: Date).

The in-text citation then uses the title, also in italics. Birmingham's guide shows the pattern with a book, (Medicine in old age, 1985, p.74), and tells you not to write "anonymous or anything similar". For a webpage the same pattern gives (Title of page, 2023). If the title is long, the first few words are enough in the citation, as long as they match the start of the reference.

No date

Write "no date" in place of the year, in both places:

British Skin Foundation (no date) What is rosacea? Available at: https://knowyourskin.britishskinfoundation.org.uk/condition/rosacea/ (Accessed: 18 January 2024).

In-text: (British Skin Foundation, no date). Before you settle for "no date", look harder. RGU's note on this template says you can use an "updated" date if the page gives one. It also says you can use your own judgement: if the page looks regularly updated and maintained, the current year can be used. Only when there is no evidence of a date at all do you fall back on "no date". Cite Them Right spells it out in full; "n.d." is the APA abbreviation, and it reads as a style mix in a Harvard reference list.

No author and no date

Combine the two rules. Birmingham's example in-text citation is (Trends in atmospheric pressure, no date), with the title in italics. The reference starts with the italic title, then (no date), then Available at: and the accessed date. This is also the answer to the Open University's frequently asked question about a page with "no author, date or publisher": the title stands in for the author and "no date" for the year.

Two pages by the same author in the same year

Add a lower-case letter after the year, in the citation and the reference: (NHS, 2024a), (NHS, 2024b). Birmingham's guide describes the same mechanism for any author with more than one item in a year. Which page gets "a" depends on how your university reads Cite Them Right; our guide to alphabetizing a Harvard reference list covers the two readings and how the letters sort.

Several pages from the same website

Each page you use is its own reference. If you drew on three pages of the NHS website, you have three references with three URLs and three titles, and if they share a year, they take the letters described above. Citing the homepage for all three leaves your reader unable to find any of them.

A PDF found on a website

A report, policy document or factsheet you downloaded as a PDF is cited as a report, with its own title and publisher. RGU files these under a separate "PDFs, reports, policy documents" template. The test is whether the document would exist as a standalone publication if the website disappeared.

A page that has changed since you read it

The accessed date is there for exactly this case. It records which version you saw. If you return to a page weeks later and the content has changed, update the accessed date and check that your citation still matches what the page says.

Social media posts and videos

A tweet, an Instagram post or a YouTube video is not a webpage in Cite Them Right: RGU lists social media and videos as separate templates from webpages. Our YouTube citation guide has the Harvard video format.

Common mistakes and how to avoid them

Citing the website instead of the page. "BBC (2024) BBC News. Available at: https://www.bbc.co.uk" sends the reader to a homepage that changes hourly. Reference the page you actually read, with its own title and full URL.

Putting the site name in italics as though it were a journal. In the webpage template, only the page title is italic, and the site name does not appear. The blog and wiki templates are the exceptions, because there the site name is the container: the blog title and "Wikipedia" are italicised.

Writing the accessed date the American way. Cite Them Right uses day month year: (Accessed: 28 March 2024). "March 28, 2024" comes from US-default software, ours included (see the last section).

Dropping the colon or the brackets. The form is "(Accessed: 28 March 2024)." with a colon after Accessed, the date inside round brackets, and the full stop outside. Even RGU's wiki example slips here, which shows how easily it happens.

Using "Anon." or "Anonymous". Birmingham says not to. Use the organisation, or failing that the title.

Writing "n.d.". That is APA. Cite Them Right writes "no date".

Including the URL in the in-text citation. The URL belongs in the reference list only. The citation in your sentence is the author and year, nothing more.

Mixing Harvard variants. If your department uses Leeds Harvard or another local version, the webpage reference looks different (next section). Pick the one your handbook names and use it for every reference.

How other Harvard variants change the webpage reference

"Harvard" is a family of author-date styles, and a webpage reference formatted in one version can be marked as inconsistent under another. The facts you record are the same everywhere: author, year, title, URL, accessed date. What changes is punctuation and placement.

Two nearly identical printed lists laid side by side on a wooden desk with a pen between them

Leeds Harvard is the variant students most often confuse with Cite Them Right. For the same webpage it writes the year without brackets, adds "[Online]." after the title, and moves the accessed date in front of the address with "Available from:" in place of "Available at:":

Robinson, J. 2007. Social variation across the UK. [Online]. [Accessed 21 November 2021]. Available from: https://www.bl.uk/british-accents-and-dialects/articles/social-variation-across-the-uk

Our Leeds Harvard vs Cite Them Right comparison has the full list of differences and a conversion checklist.

Other universities publish their own house versions, and the differences there are smaller: a full stop after the URL or not, "Viewed" in place of "Accessed", a site name added after the title. If your guide shows a webpage example, copy its punctuation exactly. If it does not, Cite Them Right is the safe default, and our overview of Harvard referencing explains how the variants relate.

Quick-reference table

CaseReference listIn-text
Named authorAmos, J. (2024) Page title. Available at: URL (Accessed: 28 March 2024).(Amos, 2024)
Organisation as authorAlzheimer Scotland (2024) Page title. Available at: URL (Accessed: date).(Alzheimer Scotland, 2024)
Acronym, first useWorld Wildlife Fund (2024) Page title. Available at: URL (Accessed: date).(World Wildlife Fund (WWF), 2024)
No dateBritish Skin Foundation (no date) Page title. Available at: URL (Accessed: date).(British Skin Foundation, no date)
No authorPage title (2023) Available at: URL (Accessed: date).(Page title, 2023)
No author, no datePage title (no date) Available at: URL (Accessed: date).(Page title, no date)
Same author, same yearNHS (2024a) Page title. ...(NHS, 2024a)
Blog postThompson, B. (2023) 'Post title', Blog title, 3 May. Available at: URL (Accessed: date).(Thompson, 2023)
Wiki article'Article title' (2023) Wikipedia. Available at: URL (Accessed: date).(Article title, 2023)
Encyclopaedia entry with DOIAuthor (Year) 'Entry', in Title of encyclopaedia. Available at: DOI(Author, Year)

Frequently Asked Questions

Try AllCitations for Free

No account required. Generate your first citation in seconds.

Start Citing for Free