Add support for custom attributes

Eg. placeholder, title