If you only display guitar tablatures, it might be interesting to add a rhythm stave to show the durations. You can do this either above or below the tablature.
Rhythm With Beams
If you prefer beams instead of bars for single notes you can have that too.
alphaTab will render tabs for stringed instruments. It takes care of the number of strings and displays the tabs as you would expect.