1. Home
  2. Computer Science MCQs
  3. HTML
  4. ………. is used to import an external style sheet in a manner…

Added 20 Jan 2024

………. is used to import an external style sheet in a manner similar to the <link> element.

  1. @insert
  2. @import Correct answer
  3. #import
  4. #insert

Correct answer

B. @import

12 views

MCQSEXAM

Explanation

The @import rule loads an external style sheet from within CSS, much as the <link> element does from HTML: @import url("style.css");. It must appear at the top of the style sheet.

For performance, <link> is usually preferred because imported files are downloaded one after another.

For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs