placeholder image to represent content

CSS Styling Quiz

Quiz by KANDI YOUNG

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

Correct quiz answers unlock more play!

New Quizalize solo game modes
5 questions
Show answers
  • Q1

    Which of the following is the correct HTML code to create a hyperlink that displays CLICK ME and links to google.com?

    Click Me <a>https://google.com</a>

    <a>     Click Me </a href="https://google.com">

    <a href="https://google.com"> 

    <a href="Click Me">     https://google.com </a>

    30s
  • Q2

    Which of the following lines of HTML code will insert an image into a webpage?

    <img https://codehs.com/static/img/logo.png>

    <img src="https://codehs.com/static/img/logo.png">

    <img>     src="https://codehs.com/static/img/logo.png" </img>

    <img>     https://codehs.com/static/img/logo.png </img>

    30s
  • Q3

    Which of the following HTML code snippets would produce the following web page: 

    -Apples

    -Bananas

    -Oranges

    <ul>     Apples     Bananas     Oranges </ul>

    <ul>     <li>Apples</li>     <li>Bananas</li>     <li>Oranges</li> </ul>

    <ol>     <li>Apples</li>     <li>Bananas</li>     <li>Oranges</li> </ol>

    <ol>     Apples     Bananas     Oranges </ol>

    30s
  • Q4

    Which of the following tags defines a line break?

    <br>

    <lb>

    <break>

    <ld>

    30s
  • Q5

    Which of the following CSS code snippets is the proper way to set the background color of an  tag to be blue? 

    h1 { background-color: black; }

    h1 { background-color: blue; }

    <h1 style="blue">Hello</h1>

    { h1 color=blue}

    30s

Teachers give this quiz to your class