1. Question: In CSS, internal style is applied by

    A
    style element

    B
    style attribute

    C
    link element

    D
    all

    Note: Not available
    1. Report
  2. Question: In CSS external style is applied by _____

    A
    style attribute

    B
    link element

    C
    style element

    D
    all

    Note: Not available
    1. Report
  3. Question: Safari uses ______ prefix for CSS3

    A
    -moz-

    B
    -safari-

    C
    -webkit-

    D
    -saf-

    Note: Not available
    1. Report
  4. Question: Which of the following CSS rule contains syntax error?

    A
    p{margin-left:40px;}

    B
    p{margin-left:40px}

    C
    p{margin-left: 40px;}

    D
    p{margin-left:40 px;}

    E
    abc{margin-left: 40px;}

    Note: 1. No space is allowed between value and unit of CSS property. 2. Type selector valid for only html element. Here abc is not valid html element.
    1. Report
  5. Question: CSS styles are:

    A
    Cumulative

    B
    Overridden

    C
    Inherited

    D
    Not Overridden

    E
    Not Inherited

    Note: Not available
    1. Report
  6. Question: Which of the following is correct order of CSS overridden priority?

    A
    1. Inline CSS 2. Internal CSS 3. External CSS 4. Ending with !important for CSS property.

    B
    1. Ending with !important for CSS property. 2. Inline CSS 3. Internal CSS 4. External CSS

    C
    1. External CSS 2. Internal CSS 3. inline CSS 4. Ending with !important for CSS property.

    D
    1. inline CSS 2. Ending with !important for CSS property. 3. Internal CSS 4.External CSS

    E
    1. Internal CSS 2. inline CSS 3. External CSS 4. Ending with !important for CSS property.

    Note: Not available
    1. Report
  7. Question: The universal selector is represented by _____.

    A
    $ (Dollar) sign

    B
    # (Hash) sign

    C
    & (ampersand) sign

    D
    * (asterisk) sign

    Note: Not available
    1. Report
  8. Question: Does CSS permit negative margin?

    A
    Yes

    B
    No

    Note: Not available
    1. Report
  9. Question: Which of the following is Google Chrome, Safari specific prefix?

    A
    -moz-

    B
    -ms-

    C
    -o-

    D
    -webkit-

    Note: Not available
    1. Report
  10. Question: Which of the following CSS rule is invalid?

    A
    p{margin-left:40px;}

    B
    p { margin-left : 40px ; }

    C
    p { margin - left : 40 px; }

    D
    All are valid

    Note: 1. Whitespace between value and unit is invalid. Example: 40 % 2. Whitespace in left or right side of - (dash sign) at a CSS property is invalid. Example: padding  -  left 3. Whitespace between (. or #) and selector name is invalid. Example: . box, # box
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd