Multiple choice

The CSS styles can be introduced into web page in any of three places. Which of the following is not one of them?

  1. In a property-linked CSS file

  2. In the head of the document

  3. As a 'style' attribute in the target HTML element

  4. In a HTMLcomment before the target HTML element

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

CSS can be applied via external files, internal blocks in the head, or inline 'style' attributes. HTML comments are ignored by browsers and cannot contain functional CSS.