When I experienced the only earthquake I've ever lived through (the 2011 Virginia quake), I did by instinct what I had been taught ages ago as a child was the right thing to do during an earthquake: stand in a doorway.
So you can imagine how chagrined I was to discover afterwards that standing in a doorway during an earthquake is now considered to be an extremely bad and stupid thing to do