I was wondering how I use citation for a website?

Has your teacher told you to use APA? or MLA? or what?

APA directions:
http://owl.english.purdue.edu/owl/resource/560/01/
Click on Reference List: Electronic Sources

MLA directions:
http://owl.english.purdue.edu/owl/resource/747/01/
Click on MLA Works Cited: Electronic Sources.