HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

University

30 Qs

quiz-placeholder

Similar activities

IA_Unid02

IA_Unid02

University

25 Qs

Diagnóstico Excel-Certificado

Diagnóstico Excel-Certificado

University

25 Qs

Unity. CharacterController

Unity. CharacterController

7th Grade - University

25 Qs

OS-PLACEMENTS

OS-PLACEMENTS

University

25 Qs

PTS GENAP DDAKL SPEADSHEET 2025

PTS GENAP DDAKL SPEADSHEET 2025

10th Grade - University

25 Qs

The SemiColons Quiz

The SemiColons Quiz

University

25 Qs

Information assurance and security

Information assurance and security

University

25 Qs

UAS Administrasi Infrastruktur Jaringan XI

UAS Administrasi Infrastruktur Jaringan XI

University

25 Qs

HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

VIKAS BANDARU

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?