Search Header Logo

CSS class - id

Authored by Francisco Javier Ruiz Restrepo

Computers

7th Grade

Used 43+ times

CSS class - id
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This tag allows you to define a new section in an HTML document:

<style> </style>

<div></div>

.div

#div

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The difference between the class selector and ID selector is...

The identifier ID is created using a dot (.) and the class uses a # symbol.

a class must be used just once whereas an Id can be applied multiple times on the HTML.

a Class can be used by multiple HTML elements, while an Id must only be used by one HTML.

This must be a unique element used in HTML

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This image presents a single selector sharing identical properties for multiple tags with a similar nature...

Media Image
Media Image
Media Image
Media Image

4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

#example { represents the creation of an ID selector, but if you want to call it on a page, the code line you should type would be...

(a)  

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Observe the next code blocks, then choose where the ID is correctly used:

Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________ are used to select and style content that HTML pages store...

Id selector

class selector

element selector

all are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Observe the next code blocks, then choose where the ID was correctly applied:

Media Image
Media Image

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?