1. Question: Which HTML tag is used to define an internal style sheet?

    A
    <css>

    B
    <style>

    C
    <script>

    Note: Not available
    1. Report
  2. Question: Which property is used to change the background color?

    A
    background-color:

    B
    bgcolor:

    C
    color:

    Note: Not available
    1. Report
  3. Question: How do you add a background color for all <h1> elements?

    A
    h1.all {background-color:#FFFFFF}

    B
    all.h1 {background-color:#FFFFFF}

    C
    h1 {background-color:#FFFFFF}

    Note: Not available
    1. Report
  4. Question: How do you change the text color of an element?

    A
    fgcolor:

    B
    color:

    C
    text-color:

    D
    text-color=

    Note: Not available
    1. Report
  5. Question: How do you display hyperlinks without an underline?

    A
    a {underline:none}

    B
    a {decoration:no underline}

    C
    a {text-decoration:no underline}

    D
    a {text-decoration:none} 

    Note: Not available
    1. Report
  6. Question: How do you make each word in a text start with a capital letter?

    A
    You can't do that with CSS

    B
    text-transform:capitalize

    C
    text-transform:uppercase

    D
    text-transform:lowercase

    Note: Not available
    1. Report
  7. Question: How do you change the font of an element?

    A
    font-family:

    B
    font-family=

    C
    f:

    D
    font=

    Note: Not available
    1. Report
  8. Question: How do you insert padding so thats it is 10 pixels at the top, 15 pixels at the bottom, 5 pixels at the right and 10 pixels to the left?

    A
    padding:5px 10px 15px 10px

    B
    padding:10px 15px 5px 10px

    C
    padding:10px 5px 15px 10px

    D
    padding:10px 5px 10px 15px

    Note: Not available
    1. Report
  9. Question: Which snippet of CSS is commonly used to center a website horizontally?

    A
    Margin: auto 0;

    B
    Margin: 0 auto;

    C
    Margin: center;

    D
    Site-Align: center;

    Note: Not available
    1. Report
  10. Question: What is the correct CSS syntax for making all the <p> tag's font size 15px?

    A
    p {font: 15px;}

    B
    p {text-size: 15px;}

    C
    p {15px}

    D
    p {font-size: 15px;}

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