1.

What does the rel attribute of a variable have when the type of file is CSS?(a) css(b) stylesheet(c) text/css(d) plainsheetThe question was asked during an online exam.I need to ask this question from Lazy Loading in portion Invocation and Performance Navigation of JavaScript

Answer»

Correct option is (b) stylesheet

The explanation: A web style sheet is a form of separation of presentation and content for web DESIGN in which the markup (i.e., HTML or XHTML) of a webpage CONTAINS the page’s semantic content and STRUCTURE, but does not define its VISUAL layout (style). The rel attribute must hold the value rel = ‘stylesheet’.



Discussion

No Comment Found

Related InterviewSolutions