Some of the attributes that can be defined in a Feature Element are,
- ActivateOnDefault - This attribute when set to true states that the feature is activated by default during installation of the feature. This attribute is provided at the web application scope and does not work at the site collection or web level.
- AlwaysForceInstall - This attribute can be set to true if the feature is installed by force, even if the feature is installed already.
- AutoActivateInCentralAdmin - This attribute can be set to true if the feature is activated by default in Administrative Web site, site collection or central administration. This attribute does not apply to Farm Scoped features.
Though these attributes are optional they prove very useful at times.