This is a good guide to learn lots of guitar chords.
Simply choose the chord you want to know from the list, click set, and see the correct fingering for that chord pop up. (Strings with blinking dots are played open)
JavaScript Guitar Chord Chart
A
A7
Am
Am7
A13
B7
C
D
D7
Dm
D9
E7
Em7
Eb9
E13
F
F5
G
G5
G7
Gmaj7
Gm7
G6
G6/9