WEB DESIGN QUIZ P2

WEB DESIGN QUIZ P2

12th Grade

20 Qs

quiz-placeholder

Similar activities

CSS ID vs. Class

CSS ID vs. Class

9th - 12th Grade

15 Qs

CSS - Quiz 1

CSS - Quiz 1

9th Grade - University

15 Qs

La sintassi CSS

La sintassi CSS

9th Grade - Professional Development

20 Qs

HTML/CSS Quiz

HTML/CSS Quiz

6th Grade - University

20 Qs

Web Technologies Chapter 4 - CSS

Web Technologies Chapter 4 - CSS

10th - 12th Grade

21 Qs

Compuscholar Chapter 6 Exam Review

Compuscholar Chapter 6 Exam Review

9th - 12th Grade

20 Qs

Using CSS Selectors

Using CSS Selectors

9th - 12th Grade

20 Qs

Webxam Programming

Webxam Programming

12th Grade

20 Qs

WEB DESIGN QUIZ P2

WEB DESIGN QUIZ P2

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Ann Ricafort

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the primary use of the class attribute in HTML?

Identify unique elements

Define inline styles

Assign multiple IDs

Reference class names for styling

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is a CSS class selector defined?

Preceded by a full stop

Preceded by a hash character

Preceded by a dollar sign

Preceded by an exclamation mark

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can HTML classes be numbers?

No, only letters are allowed

No, only special characters are allowed

Yes, but only odd numbers

Yes, numbers are supported

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the id attribute specify in HTML?

A specific style declaration

A unique identifier for an element

A reference to a JavaScript function

A unique class name

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How is an id selector defined in CSS?

Preceded by a full stop

Preceded by a hash character

Preceded by an exclamation mark

Preceded by a dollar sign

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the purpose of the id attribute in HTML?

Assign multiple classes to an element

Identify a unique element on the page

Define inline styles for an element

Link to an external stylesheet

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can CSS classes be reused across multiple elements?

By using the same class name for each element

By defining a new class for each element

By using inline styles for each element

By assigning IDs to each element

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?