text: how to use the if statement in html without using any external script like javascript or css? i have been trying to use the if statement on sites which don't accept anything but html(cant use the script tag in it to put java or css). i only know how to work with html n javascript. but my only option is html. so does anyone know how to put the if statement in html simply? thnxx a lot in adnavce... the above answers while being correct are a little outdated.  nowadays web programmers utilizing what is called html 2.0.  i assume you've heard of web 2.0 right?  well, this is kind of the same thing.  all you have to do format the if's like so:      