Your posted code contains a lot of what appears to be html coding, not just VBA. Please correct it.
Also, when posting code, please format your code correctly and enclose it in CODE tages to preserve the formatting - see the edits I've made to your post.