Search Header Logo

3RDQTR QUIZ NO.2

Authored by SANCHA ENAJE

Information Technology (IT)

10th Grade

Used 11+ times

3RDQTR QUIZ NO.2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct CSS syntax to change the background color of a paragraph?

{background-color: red;}

p {background-color: red;}

p: background-color = red;

p[background-color: red]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you include an external CSS file in an HTML document?

<style src="styles.css">

<css href="styles.css">

<link rel="stylesheet" type="text/css" href="styles.css">

<script src="styles.css">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to apply a class selector in CSS?

.classname

#classname

classname

classname()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to make all <h1> elements bold using CSS?

h1 {font-weight: bold;}

h1: bold;

h1 {text-style: bold;}

h1 {font-bold: true;}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is used to change the text color in CSS?

color

text-color

font-color

text-style

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select an element with the ID header in CSS?

header

.header

#header

@header

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the * (asterisk) selector do in CSS?

Selects all elements on the page

Selects all child elements of the parent

Selects all elements with a specific class

Selects only the body element

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?