What is a good library to use for adding "tags" to a post, similar to stack overflow tags

Tags help with search results and browsing, so in addition to just submitting some content, I also want the user to put in some tags for that content. A post about something like a review of a video game might have the following tags: computer gaming, RPG, fantasy, etc.