split up tags/attributes into smaller sections