Basic element construction including attributes.