1.

Which property is similar to C/C++ can be applied to comments?(a) for loop(b) while loop(c) ifelse(d) switch caseThis question was posed to me in an interview.This key question is from Fonts in HTML topic in section HTML Fonts, Tags and Elements of HTML

Answer»

Right choice is (c) ifelse

The best explanation: 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.



Discussion

No Comment Found

Related InterviewSolutions