How to create metadata in osx?

Anyone know how to create metadata in osx using textedit.app? What is the format/code?

Thanks