Support class attribute for table tags

Please check my pull.