If you only display guitar tablatures, it might be interesting to add rhythm stave to show the durations. You can do this either above or below 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 number of strings and displays the tabs as you would expect.