In APA citation, the way you cite a source is determined by what kind of source it is, not necessarily where/how you accessed it. For example, an article is cited in a specific way regardless of whether you found it in a database or on a website. A table is cited in a different way, regardless of whether you saw it in a handout or on a website.
Visit this page on the APA Style website for examples of how to cite different kinds of sources that you may have found on a website.