Can I add attributes to specific element types?

No, you can only define global attributes, specialized either from @base or @props.