viscoelasticity is the property of a material that displays both viscosity, and elasticity. Such materials are called viscoelastic.
See Viscosity and elasticity