
Intro to HTML, CSS, JS
Authored by Farabi Chowdhury
Computers
Professional Development
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which is the correct CSS syntax for changing the color of a text?
{body=text-color:white}
body{color:white;}
body:color={white};
body:color=white;
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What does the following mean to the computer? div p {color: #ff0000;}
Make text in all divs and all paragraphs in this document be red
Make the background in all divs that are of the class "p" be red
Make the text inside any paragraph that is inside any div be red
Make the text inside any divs inside of any paragraph be red
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How can you open a link in a new tab?
<a href="url" target="new">
<a href="url" target="_blank">
<a href="url" new>
<a href="url" blank>
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How can you group selectors?
Separate each selector with a plus sign
Separate each selector with a comma
Separate each selector with a space
Separate each selector with a dot
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How do you display a top-border=10, bottom-border=5px, left-border=20px, right-border=1px, using shorthand
border-width: 10px 5px 20px 1px
border-width: 5px 1px 10px 20px
border-width: 20px 10px 5px 1px
border-width: 10px 1px 5px 20px
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
I want to hide an element while still taking up space. Which CSS rule should I use?
display: none;
top: -9999px;
z-index: -1;
visibility: hidden;
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which of the following statements will throw an error
var fun = function bar( ){ }
var fun = function bar{ }function fun( ){ }
function fun( ){ }
function( ){ }
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?