How "XOXO" Came to mean "Hugs and Kisses"?

Which are hugs and which are kisses?

How did the letters come to mean kisses and hugs?

Here I found the answer:

A whole lot of history behind x and o, kiss and hug - The Washington Post