1. Question: Read the following statements: Statement 1:Vertical margins between a floated box and any other box do not collapse. Statement 2:Margins of absolutely and relatively positioned boxes collapse. Which of the following is correct?

    A
    Statement 1 is correct but statement 2 is incorrect

    B
    Statement 2 is correct but statement 1 is incorrect

    C
    Both statements are correct

    D
    Both statements are incorrect

    Note: Not available
    1. Report
  2. Question: You have an article of 100 lines. If for instance, you want to describe the theme with a few lines inside the text highlighted separately as shown in the image, which of the following properties will you use?

    A
    Outline

    B
    display

    C
    float

    D
    merge

    Note: Not available
    1. Report
  3. Question: Read the following code:
    BODY {
    background: white url("bar.gif");
    background-repeat: repeat-y;
    background-position: center;
    }
    What will be the output of this code?

    A
    Image bar.gif will be tiled vertically in the background in the center of the page.

    B
    Image bar.gif will be tiled horizontally in the background in the center of the page

    C
    Image bar.gif will be displayed in the center of the page

    D
    Image bar.gif will be stretched in the center of the page

    Note: Not available
    1. Report
  4. Question: Consider the following font definition:
    font-weight: bold
    What is the other way of getting the same result?

    A
    font-weight:b

    B
    font-weight:bolder

    C
    font-weight:bld

    D
    font-weight:700

    Note: Not available
    1. Report
  5. 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 a small graphic that you have created. Which style could you use?

    A
    list-style

    B
    list-style-marker

    C
    list-bullet

    D
    list-style-image

    Note: Not available
    1. Report
  6. Question: Which of the following attributes can be used to supersede any of the contradictory styles with equal weight?

    A
    !supersede

    B
    !high

    C
    !important

    D
    !key

    Note: Not available
    1. Report
  7. Question: You developed a website using HTML and style sheets. You defined a style for the H4 tag within the head tag, in the imported style sheet and in-line. Which style definition will be used when the page is seen in a browser?

    A
    Default browser H4 definition

    B
    External style sheet definition

    C
    Inline style definition

    D
    Style definition in the head tag

    Note: Not available
    1. Report
  8. Question: You want to increase the space between the lines in all your paragraphs. What will you use?

    A
    p{ width:1cm}

    B
    p{ height: 1cm}

    C
    p{ line-height: 1cm}

    D
    p{ line-width: 1cm}

    Note: Not available
    1. Report
  9. Question: You are fetching customer names from a database. The names in the database are mostly in lowercase. What is the name of the text property which will facilitate capitalization of these names?

    A
    text-mode

    B
    text-transform

    C
    text-decoration

    D
    text-shadow

    Note: Not available
    1. Report
  10. Question: You defined two styles as follows: td.right {text-align: right} td.left {text-align: left} Which of the following is the right way to use them in an HTML page?

    A
    <td class="td.right">Some Text</td>

    B
    <td class="right" class="left">Some Text</td>

    C
    <td class="td.left" class="td.right">Some Text</td>

    D
    <td class="right">Some Text</td>

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