Using the getAttribute Method