In guitar tabs, a straight line (or "0") on a string indicates an open string—play the string without pressing any fret. It's the note produced by the string's full vibrating length.
For example, a "0" on the low E string means play the open low E note (E2). No fingers on the fretboard for that string.