1. Question: Which of the following is selector in the code below? p{font-size:10px;}

    A
    p

    B
    p{font-size:10px;}

    C
    font-size:10px;

    D
    font-size;

    Note: Not available
    1. Report
  2. Question: Which of the following is a CSS rule in the code below? p{padding:10px;}

    A
    p{padding:10px;}

    B
    p

    C
    padding:10px;

    D
    {padding:10px;}

    Note: Not available
    1. Report
  3. Question: Which of the following is CSS declaration in the code below? p{margin-left:40px;}

    A
    margin-left:40px;

    B
    p{margin-left:40px;}

    C
    margin-left

    D
    40px;

    Note: Not available
    1. Report
  4. Question: HTML tags to build a tree-like outline of the page's structure which is refers to

    A
    BOM

    B
    DOM

    C
    HTML

    D
    None

    Note: Not available
    1. Report
  5. Question: DOCTYPE is required because

    A
    it ensure that the browser renders your styles correctly.

    B
    it ensure that the correct browser is loading page.

    C
    it just ensure the version of the HTML

    D
    none

    Note: Not available
    1. Report
  6. Question: DOM structure is resemble to

    A
    family tree

    B
    binary tree

    C
    structure chart

    D
    all

    Note: Not available
    1. Report
  7. Question: CSS2.1 specification defines

    A
    22 selectors

    B
    20 selectors

    C
    more than 50 selectors

    D
    21 selectors

    Note: Not available
    1. Report
  8. Question: Which of the following CSS rules using type selector?

    A
    *{margin:0px;}

    B
    p{margin:0px;}

    C
    .type{margin:0px;}

    D
    #type{margin:0px;}

    Note: Not available
    1. Report
  9. Question: Which of the following CSS rule uses descendant selector?

    A
    p strong{color:gray;}

    B
    p{color:gray;}

    C
    p.strong{color:gray;}

    D
    p#strong{color:gray;}

    Note: Not available
    1. Report
  10. Question: Which of the following selectors matches elements of type "a" with the attribute href?

    A
    a[href]

    B
    a href

    C
    <a href>

    D
    a@href

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