1. Question: While rendering the following code, what is the role of "src" propery?
    @font-face {
        font-family: "calibriforh1";
        src: local("calibri"), url(calibri.woff);
    }
    h1 { font-family: "calibriforh1", arial, sans-serif; }

    A
    It's for searching the user's system for a "calibri" font, and if it does not exist, it will load the font from the server instead.

    B
    t's for searching the user's system for a "calibri" font, and if it does not exist, it will load user's system's default font instead.

    C
    It's for loading the user's system's default font.

    D
    None

    Note: Not available
    1. Report
  2. Question: Which of the following statements is true with regard to CSS3 transitions?

    A
    Using CSS transitions will slow down page upload and produce lag.

    B
    The completion of a CSS transition generates a corresponding DOM event. An event is fired for each property that undergoes a transition. This allows a content developer to perform actions that synchronize with the completion of a transition.

    C
    CSS transitions allow DOM events in CSS values to occur smoothly over a specified duration.

    D
    None

    Note: Not available
    1. Report
  3. Question: Given that one div element needs to be hidden and on active state needs to be displayed, what will be the output of the following code?
    div {
        display: none;
        -webkit-transition: opacity 1s ease-out;
        opacity: 0; 
    }
    
    div.active {
        opacity: 1;
        display: block;
    }

    A
    On active state the element is displayed.

    B
    On active state the element's opacity is changed to 1.

    C
    On active state the element's opacity is changed to 0.

    D
    Nothing will be shown.

    Note: Not available
    1. Report
  4. Question: Which of the given options is/are equivalent to the following rule? DIV { line-height: 1.2; font-size: 10pt }

    A
    DIV{ line-height: 1.2em; font-size: 10pt }

    B
    DIV{ line-height: 12em; font-size: 10pt }

    C
    DIV{ line-height: 120%; font-size: 10pt }

    D
    DIV{ line-height: 20%; font-size: 10pt }

    E
    DIV{ line-height: 80%; font-size: 10pt }

    Note: Not available
    1. Report
  5. Question: What will happen if the following style declaration is applied to an element? p { margin: 3em 2em }

    A
    The top and the bottom margins will be 3em and the left and the right margins will be 2em.

    B
    he top and the bottom margins will be 2em and the left and the right margins will be 3em.

    C
    The top and the left margins will be 3em and the bottom and the right margins will be 2em.

    D
    The top and the right margins will be 2em and the bottom and the left margins will be 3em.

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd