using correct attribute syntax