HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

University

30 Qs

quiz-placeholder

Similar activities

Computer Programming Midterms

Computer Programming Midterms

University

25 Qs

1st Term Revision G4

1st Term Revision G4

3rd Grade - University

25 Qs

Prueba Diagnóstica de HTML y CSS

Prueba Diagnóstica de HTML y CSS

University

25 Qs

CCC4 Chapter 1 - Introduction to Computers

CCC4 Chapter 1 - Introduction to Computers

University

25 Qs

Unit- 1- OFFICE AUTOMATION

Unit- 1- OFFICE AUTOMATION

University

25 Qs

Arduino

Arduino

University

25 Qs

C plus plus

C plus plus

University

25 Qs

C_Upto_Array

C_Upto_Array

University

25 Qs

HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

Assessment

Quiz

Computers

University

Medium

Created by

VIKAS BANDARU

Used 23+ 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>
<img>
<h1>
<div>

Answer explanation

The <a> tag is used for hyperlinks.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following tags is used to display an image in HTML?

<img>
<picture>
<figure>
<media>

Answer explanation

The <img> tag embeds images in HTML.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag defines the largest heading in HTML?

<h6>
<heading>
<h1>
<title>

Answer explanation

<h1> defines the largest heading.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

background-color
color
font-style
text-align

Answer explanation

The color property sets the text color.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which CSS selector will select all <p> elements inside a <div>?

div > p
div p
p div
.div p

Answer explanation

div p selects all <p> inside <div>.

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are valid values for the CSS position property?

absolute
fixed
relative
sticky
centered

Answer explanation

All except 'centered' are valid position values.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property controls the size of text?

font-weight
font-size
text-size
text-style

Answer explanation

font-size changes text size.

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?