How do I exclude the "click here" from mail header on the generated web page?
Try wrapping those items in &lt;span class="hiddenElement"&gt; &lt;/span&gt;. Civi's css will hide it on your website, but email clients will not.