Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Professional Development

10 Qs

quiz-placeholder

Similar activities

Revisit passed topics (DP)

Revisit passed topics (DP)

University - Professional Development

10 Qs

Layouts and the CSS box model

Layouts and the CSS box model

KG - Professional Development

5 Qs

HTML & CSS

HTML & CSS

Professional Development

11 Qs

3.1-basic-CSS-review

3.1-basic-CSS-review

7th Grade - Professional Development

10 Qs

ICWD QUIZ

ICWD QUIZ

Professional Development

10 Qs

Revisão HTML / CSS - CEMI

Revisão HTML / CSS - CEMI

Professional Development

14 Qs

CSS Básico

CSS Básico

Professional Development

15 Qs

CSS QUIZ 1

CSS QUIZ 1

University - Professional Development

15 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?