How to read Guitar Chords

There is an example how looks E minor in tabs.

 e|--0----------------------------
B|--0----------------------------
G|--0----------------------------
D|--2----------------------------
A|--2----------------------------
E|--0----------------------------

How to read this Tab chord? If you read the diagram you would play
this on a guitar by putting your finger just behind the 2nd frets
on the 5th and 4th strings. The ‘zero’ represents playing an open
string.
On the below tablature you can see Chord E playing three times.

 e|--0--0--0---------------------
B|--0--0--0---------------------
G|--1--1--1---------------------
D|--2--2--2---------------------
A|--2--2--2---------------------
E|--0--0--0---------------------


To tab a chord the notes would be placed in a vertical line upon the horizontal ones. This diagram represents a C Chord. You would strum the bottom 5 strings of the guitar in one motion if you were to read this tab properly.


e--0----------------------------
B--1----------------------------
G--0----------------------------
D--2----------------------------
A--3----------------------------
E-------------------------------