Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Professional Development

10 Qs

quiz-placeholder

Similar activities

C# Quiz

C# Quiz

Professional Development

10 Qs

COMPUTER SHORTCUT KEYS

COMPUTER SHORTCUT KEYS

6th Grade - Professional Development

10 Qs

Bài 3 - Giới thiệu giao diện Photoshop

Bài 3 - Giới thiệu giao diện Photoshop

Professional Development

10 Qs

Java Strings and lops

Java Strings and lops

Professional Development

10 Qs

CG-Assignment1

CG-Assignment1

University - Professional Development

10 Qs

Week 1 - Pygame (27/06/25)

Week 1 - Pygame (27/06/25)

Professional Development

15 Qs

Evaluacion de Diagnostico 2024

Evaluacion de Diagnostico 2024

Professional Development

15 Qs

Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Farabi Chowdhury

Used 31+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

Already have an account?