HTML and CSS Quiz

HTML and CSS Quiz

University

30 Qs

quiz-placeholder

Similar activities

HTML -1

HTML -1

University

25 Qs

Webathon1.0

Webathon1.0

University

30 Qs

AGRO-303 1-8 MCQs

AGRO-303 1-8 MCQs

University

25 Qs

Thomson/Maguire Practice Test Part 1

Thomson/Maguire Practice Test Part 1

10th Grade - University

26 Qs

tech

tech

University

25 Qs

PENGAJIAN AM PENGGAL 3 ASEAN

PENGAJIAN AM PENGGAL 3 ASEAN

University

30 Qs

HTML & CSS

HTML & CSS

University

30 Qs

HTML & CSS Level 01

HTML & CSS Level 01

University

25 Qs

HTML and CSS Quiz

HTML and CSS Quiz

Assessment

Quiz

Other

University

Easy

Created by

InfiTechLearn Team

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to create a hyperlink in HTML?

A.

B.

C.

D.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct CSS syntax to change text color to red?

A. color = red;

B. text-color: red;

C. font-color: red;

D. color: red;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used to insert an image?

A.

B.

C.

D.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to define inline styles in HTML?

A. class

B. style

C. css

D. styles

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the background color?

A. bgcolor

B. color

C. background-color

D. background

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a JavaScript variable?

A. var

B. variable

C. let

D. define

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property controls the text size?

A. font-size

B. text-size

C. size

D. text-style

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?