1. Question: Which of the following is not a valid text-decoration option?

    A
    text-decoration:line-through

    B
    text-decoration:in-line

    C
    text-decoration:overline

    D
    text-decoration:underline

    Note: Not available
    1. Report
  2. Question: Which style will always be over-ridden if you are using style definitions in the tag, linked stylesheets using the tag and imported stylesheets using the @import method, provided the same style is defined using each of these techniques.

    A
    The in-line style

    B
    The style definition in the tag

    C
    The linked stylesheet

    D
    The imported stylesheet @import

    Note: Not available
    1. Report
  3. Question: You want to display a list of items on your webpage using the <li> tag, instead of bullets. You want each list element to be marked by roman numbering, Which style will you use?

    A
    list-style

    B
    list-style-type

    C
    list-marker

    D
    list-style-marker

    Note: Not available
    1. Report
  4. Question: Which of the following options regarding page media groups is wrong?

    A
    continuous/paged

    B
    visual/audio/speech/tactile

    C
    grid/bitmap

    D
    dynamic/interactive/static

    Note: Not available
    1. Report
  5. Question: Which of the following is true for an ID selector?

    A
    It uses a dot as the separator symbol

    B
    It applies the style to only the first element defined with that selector

    C
    It applies the style to only the last element defined with that selector

    D
    It applies the style to all the elements defined with that selector

    Note: Not available
    1. Report
  6. Question: Which of the following is not true for a style sheet?

    A
    A style sheet defines how an HTML element will be displayed

    B
    Internal and external style sheets cannot be used together

    C
    Multiple style definitions will cascade into one

    D
    The same style sheet can be used by many HTML pages

    Note: Not available
    1. Report
  7. Question: You are designing a web site and need to set the background image for all the web pages. You want a small background image to repeat and fill up the whole background. Which of the following body styles is ideal for this?

    A
    body{ background: url(/images/bg.gif); repeat: repeat-x }

    B
    body{ background: url(/images/bg.gif); repeat: repeat-y }

    C
    body{ background-image: url(/images/bg.gif); background -repeat: no-repeat }

    D
    body { background-image: url(images/bg.gif);background-repeat: repeat}

    Note: Not available
    1. Report
  8. Question: Consider the following code snippet:
    <div id="sectors">
        <div id="A" class="A"></div>
        <div id="B" class="B"></div>
        <div id="C" class="C"></div>
        <div id="D" class="D"></div>
        <div id="E" class="E"></div>
    </div>
    With these style rules:
    <style>
    #sectors > div {
        float: left;
        position: relative;
        width: 80px;
        height: 80px;
        margin: 16px;
     background-color:red; color: white;
     text-align: center;
    }
    #sectors > div::after {
        content: attr(id) '-Block';
    }
    #sectors > div.changecolor {
        background-color: blue;
    } 
    </style>
    Which of the following code snippets when inserted into CSS will change the A and B div’s color from red to blue?

    A
    In style rule add this code “#sectors > div:not(.C):not(.D):not(.E) {background-color: blue;}”

    B
    In style rule add this code “#sectors > div:not(.C, .D, .E) {background-color: blue;}”

    C
    Both A and B

    D
    None

    Note: Not available
    1. Report
  9. Question: Which of the following will create a triangle effect using pure CSS3 on a white background, without making use of background images?

    A
    It is not possible to do so.

    B
    border-color: #a0c7ff #ffffff #ffffff #ffffff; border-style: solid; border-width: 20px; width: 0px; height: 0px;

    C
    background-color: #a0c7ff #ffffff #ffffff #ffffff; border-style: solid; border-width: 20px; width: 0px; height: 0px;

    D
    background-color: #a0c7ff #ffffff #ffffff #ffffff; border-style: solid; border-width: 1px; width: 10px; height: 10px;

    Note: Not available
    1. Report
  10. Question: Can a percentage value be given in a ruby-align property?

    A
    Yes

    B
    No

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