
CSS Styling Quiz
Quiz by KANDI YOUNG
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- 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