Add dedicated wrapper for tabs widget html.

From #6495.