How to add keyword field in custom form programmatically?

This link can help you in transforming text into tag-style boxes :-http://jsbin.com/hehurot/5/edit?html,js,output

Then you can store them individually as per your use case

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)