Britain on Wednesday advised all its tourists in Spain to leave after the country announced it was closing hotels by next Tuesday to deal with the spread of the coronavirus.