Is there any option for using IF-ELSE conditioning in HTML tags
do something
do something
Not to be pedantic, but HTML is a markup language, and isn't useful for conditional logic.
That being said, it sounds like what you're looking for is a bit of javascript. If you could add a bit more detail to your question, I could elaborate on how you could use javascript to do tasks with conditional logic.