Write the full citation the moment you take a note, not at the end. A common Chicago-style book citation (used by many historians) looks like this:
Hobsbawm, Eric. The Age of Extremes: The Short Twentieth Century, 1914-1991. London: Michael Joseph, 1994.
For a website, give the author or organization, the page title, the site, the date you visited, and the URL. Use whatever style your teacher asks for, consistently.