An earthquake of 6.6 magnitude struck Taiwan on Thursday shaking high-rise buildings but there were no reports of casualties or major damage, residents and media said.