Is there any option for using IF-ELSE conditioning in HTML tags
do something do something
As has been said in other posts, HTML does not support conditional logic. You have two choices here:
1) Generate the HTML dynamically using technologies such as PHP or XSLT
2) Modify the HTML DOM after the fact using Javascript