As you might have understood by now, this is a programming forum so your question is a little bit off topic. If you have problems with the actual HTML code, then you can come back and ask about that.
If what you want to do is to write HTML code in a gmail body and then send it, this link might help you.
Send HTML Emails with Gmail and Google Docs[
^]
Maybe you have seen it already?