Tannic acid is a specific form of tannin, a type of polyphenol. Its weak acidity (pKa around 6) is due to the numerous phenol groups in the structure.
The compounds of every Wikipedia article carrying a Chembox or a Drugbox, refreshed daily, with the values their infoboxes give. The pages need JavaScript; the API does not.