placeholder image to represent content

CSS

Quiz by DEREK HOWARD

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
20 questions
Show answers
  • Q1
    1. What term describes one specific feature such as size or color?
    Declaration Block
    CSS
    Property
    Rule
    30s
  • Q2
    2. Which property would you set to control the color of the background in an element?
    font-color
    color
    back
    background-color
    30s
  • Q3
    3. What symbol indicates that numeric values will be hexadecimal instead of decimal?
    @
    *
    !
    #
    30s
  • Q4
    4. Which of the following declarations will turn the text in a paragraph to bold?
    font-weight: normal;
    font=bold;
    font-weight: bold;
    font-size: large;
    30s
  • Q5
    5. What element would you style to set default properties for all of the other elements on your web page?
    <p>.
    <html>
    <head>
    <body>
    30s
  • Q6
    6. Which of the following is NOT a way to apply CSS properties to your website?
    The external method
    The embedded method
    The outline method
    The inline method
    30s
  • Q7
    7. What does this line of code in an external CSS file tell the browser? @charset "utf-8";
    The font style to use
    To bold the text on the screen
    The character set you are using
    That you are using base-8
    30s
  • Q8
    8. What symbols are used in external CSS files to create a comment? A.
    //
    /* and */
    ###
    <!-- and -->
    30s
  • Q9
    9. What is the correct format for creating a style rule in an external CSS file?
    Selector name, opening curly brace, declaration block, closing curly brace
    Declaration block, Selector name, opening curly brace, closing curly brace
    Opening curly brace, selector name, declaration block, closing curly brace
    Selector name, declaration block, opening curly brace, closing curly brace
    30s
  • Q10
    10. Given a RGB value of #00FF00, what will be the resulting color on the screen?
    Blue
    Red
    Green
    A mixture of red, green, and blue
    30s
  • Q11
    11. What is the disadvantage of placing inline styles in your HTML pages?
    Both of these are disadvantages
    Neither of these are disadvantages
    If you want to make a site-wide style change, you need to find and edit every copy of those inline styles.
    Inline styles clutter your HTML mark-up and make it harder to read.
    30s
  • Q12
    12. How do you create an inline style?
    Add a “css” attribute to the target element
    Add a “style” attribute to the target element
    Define a style rule in your <head> area
    Add a list of property attributes to the target element
    30s
  • Q13
    13. Each spot of color on a monitor is defined in RGB, which stands for:
    Red, Gray, Black
    Red, Gray, Brown
    Red, Green, Blue
    Rose, Green, Black
    30s
  • Q14
    14. How many digits are there in the "hexadecimal" numbering system?
    2
    16
    255
    10
    30s
  • Q15
    15. What is true about the format of a declaration block found inside a <style> element instead of inline?
    All of these are true.
    You do not need to separate declarations with semi-colons at the end.
    You can use an equals sign (=) between the property and value.
    The format is the same as inline, but you might add some whitespace to put each declaration on a different line.
    30s

Teachers give this quiz to your class