1. 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
  2. Question: Paged media differ from continuous media in that the content of the document is divided into one or more pages. When you set the dimensions, which of the following will be applied?

    A
    The dimensions of the page area are the dimensions of the page box minus the margin area.

    B
    The dimensions of the page area are the dimensions of the page box plus the margin area.

    C
    The dimensions of the page area are the dimensions of the page box and margin area does not affect it.

    D
    None of the above

    Note: Not available
    1. Report
  3. Question: Which of the following is correct with regard to comments in a style sheet?

    A
    Comments can appear outside the style definition only

    B
    Comments start with //

    C
    Comments end with */

    D
    Comments are not permitted in a style sheet

    Note: Not available
    1. Report
  4. Question: What is the effect of the following style: p strong {color: green; }

    A
    All strong text and all paragraph text will be displayed in green color

    B
    All paragraphs that are contained within <strong></strong> tags will be displayed in green color

    C
    All strong text that is contained in a paragraph will be displayed in green color

    D
    Only the paragraph text will be displayed in green color

    Note: Not available
    1. Report
  5. Question: Which of the following does not apply to external styles?

    A
    Clean Separation of Design & Content

    B
    Minimal Code Duplication

    C
    Highest priority

    D
    Reduces page download time

    Note: Not available
    1. Report
  6. Question: How will you link a style sheet named "ssa.css" in your web page?

    A
    <import name=''stylesheet'' url=''ssa.css''>

    B
    b<link rel=''stylesheet'' type=''text/css'' href="ssa.css">

    C
    <style name=''stylesheet'' url=''ssa.css''>

    Note: Not available
    1. Report
  7. Question: You want to display a table whose cell borders are as per the following rules: 1. Left Border should be double 2. Right Border should be dashed 3. Top Border should be dotted 4. Bottom Border should be solid Choose the correct style definition:

    A
    border-style:double dotted dashed solid

    B
    border-style:dotted dashed solid double

    C
    border-style:dashed double solid dotted

    D
    border-style:solid double dotted dashed

    Note: Not available
    1. Report
  8. Question: You defined a style to left align the text: .left {text-align: left} Select the correct statement:

    A
    The style can be applied to any element in the HTML page

    B
    The style can be applied using the ID attribute

    C
    The style can be applied using the class attribute

    D
    The style is incomplete without a prefixed element tag name

    Note: Not available
    1. Report
  9. Question: The following is a sample style: 1. p 2. ( 3. font-family:arial 4. color:black 5. text-align:left 6. ); What correction is required in the above style?

    A
    The style definition should be enclosed in curly braces

    B
    Multiple items within a style should be separated by ";"

    C
    The style should not close with a semicolon

    D
    p should be followed by an equal-to sign

    Note: Not available
    1. Report
  10. Question: The font-family property is used to specify a:

    A
    family name

    B
    generic family

    C
    family name and/or generic family

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