The Columbia Guide to Online Style is the standard resource for citing electronic and electronically accessed sources.
Citing Digital Primary Sources - This site, maintained by the Library of Congress, is great for citing historical materials such as manuscripts, films, recordings,and government documents. Includes MLA and Chicago style.