A 6.0-magnitude earthquake hit Taiwan, the US Geological Survey said, injuring 27 people, triggering landslides and causing ceilings of homes to cave in according to local authorities.