CSS and HTML Quiz

CSS and HTML Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

SIMKOM

SIMKOM

12th Grade - Professional Development

15 Qs

Jadi Programmer | Kampung Koding

Jadi Programmer | Kampung Koding

10th Grade - Professional Development

20 Qs

Guess the Retro Computer 1

Guess the Retro Computer 1

KG - Professional Development

13 Qs

PTS KLS 9

PTS KLS 9

12th Grade

20 Qs

Google Slides Review (4th)

Google Slides Review (4th)

4th Grade - University

13 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

LATIHAN SOAL PEMROGRAMAN

LATIHAN SOAL PEMROGRAMAN

9th Grade - University

15 Qs

Ms. Excel Lev. 3

Ms. Excel Lev. 3

9th - 12th Grade

20 Qs

CSS and HTML Quiz

CSS and HTML Quiz

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Anthony DellaRosa

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assume you have two files for your website, and these files exist in the same folder: about.html style.css Which of the following is the proper way to apply the CSS code inside style.css to the about.html file?

Inside style.css: applyTo { href: about.html; }

Inside about.html:

Inside style.css:

Inside about.html:

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are trying to apply the same style to several different elements in a block, with line breaks before and after. Which tag should you use?

  1. <span>

  1. <div>

  1. <style>

  1. <src>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following selects all elements with the class footer that are inside of divs?

div { .footer { ... } }

.footer div { ... }

div > .footer { ... }

div .footer { ... }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following selects all a tags that are immediate children of div tags?

div > a { ... }

div a { ... }

div < a { ... }

div + a { ... }

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will turn the first letter of all p elements blue?

p::first-letter { color=blue; }

p:first-letter { color=blue; }

p::first-letter { color: blue; }

p:first-letter { color: blue; }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following selects images as the mouse hovers over them and sets their size to 350px by 350px?

img:hover { width: 350px; height: 350px; }

img :hover { width: 350px; height: 350px; }

img::hover { width: 350px; height: 350px; }

img > hover { width: 350px; height: 350px; }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following settings will not make an element invisible?

visibility: hidden

appearance: off

opacity: 0

display: none

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

Already have an account?