Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Professional Development

10 Qs

quiz-placeholder

Similar activities

Excel-8vos

Excel-8vos

Professional Development

10 Qs

Simulation

Simulation

University - Professional Development

10 Qs

Sony Xperia XZ2

Sony Xperia XZ2

KG - Professional Development

10 Qs

Fortnite

Fortnite

5th Grade - Professional Development

11 Qs

POWER POINT

POWER POINT

Professional Development

10 Qs

Ôn tập bài 27, 28 - k10

Ôn tập bài 27, 28 - k10

Professional Development

10 Qs

MS WORD REVISION QUIZ

MS WORD REVISION QUIZ

Professional Development

10 Qs

Construct 3 Quiz - Game Development

Construct 3 Quiz - Game Development

2nd Grade - Professional Development

10 Qs

Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Farabi Chowdhury

Used 31+ times

FREE Resource

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( ){ }

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?