Guitar tab has six lines, representing the six strings on a guitar. The numbers represent the frets that have a finger. The lines, read bottom to top: E A D G B E so the following is a C chord (or a bad attempt at one anyway)
E: ----- B: 1---- G: ----- D: 2---- A: 3---- E: x
and this is a Em chord with additional strings played after the strum.