1.

What should be the value of the type attribute of a variable if the type of file is CSS?(a) text/js/css(b) text/js(c) text/css(d) textI have been asked this question in homework.This key question is from Lazy Loading in portion Invocation and Performance Navigation of JavaScript

Answer»

The correct answer is (C) text/css

To EXPLAIN: Since the type of FILE is CSS, the type attribute should hold the value text/css. For javascript file type attribute WOULD hold the VALE text/js.



Discussion

No Comment Found

Related InterviewSolutions