mercredi 30 décembre 2015

HTML comment if without javascript

I know that I can display/hide content whether the browser is IE or not or even the version of IE. I was wondering if I can use other expressions too such as

<!--[if 1 == 0]-->
This should be hidden
<!--[endif]-->

The reason behind this is that I'm sending auto generated E-Mails and for me it would be easier to insert such comments in the template E-Mail instead of creating multiple templates.

Aucun commentaire:

Enregistrer un commentaire