From tannin, from French tannin, from Latin tannum (“oak bark”), from Gaulish *tannos (“oak”). By surface analysis, tann- + -o-.
tanni-