How I can use key in element Attribute

how I can use key in element Attribute

Unless you have a specific use case. If so, please provide additional details, what you want to achieve.