How to send an e-mail with a html code?


I pasted a html code in an e-mail, and i sended it (as i read here), but it doesn´t work. No animation, on ly the code can be read it on the e-mail. What should i do???
But when you receive the e-mail you just see the code, then you don´t understand what is the code about.. the idea is that this html code start an animation, that could be clicked
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG