How to put the if statement in HTML
FrankGomezMonta (0)

I am using the Chrome browser and how do I put in the 'if' statement in HTML?

You are viewing a single comment. View All
mwilki7 (192)

As far as I know HTML by itself does not have if-else statements (I'm googling this right now so I'm probably wrong).
It's easiest to add this sort of logic in JavaScript which I know for a fact has if-else statements and all that other stuff.

What do you want your HTML to do with if statements?