libs/web: assign extra css class to typed or named sections with tabs