Home » HTML » Html miscellaneous » Question
  1. Which property is similar to C/C++ can be applied to comments?
    1. while loop
    2. ifelse
    3. switch case
    4. for loop
    5. None of these
Correct Option: B

We can add conditional comments in our web page using if and endif, e.g. <!–[if age 9]>..text….<![endif]–>, there is no provision of “for” or “while” loop in HTML, same apply with switch case also.



Your comments will be displayed only after manual approval.