View Full Version : IF statement


bower
03-07-2006, 02:29 PM
can you please tell me how to write an IF statement in html.

Thannks

bejayel
03-07-2006, 03:26 PM
there is no "if" statement in html.

Some tags have secondary tags that allow you to define something that happens if the user does not have support for a certain feature. (embed and noembed for instance). But there is no if statement.

You are going to have to use somethign like javascript (client side scripting language, not very useful for anything but making the pages dynamic LOOKING), or php (server side scripting languages that make the page ACT dynamic), or cgi/perl, or asp, or java, etc etc.