What type of boundary is an earthquake?

I think it is either Transform or Divergent.

http://oceanexplorer.noaa.gov/facts/plate-boundaries.html