HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

University

30 Qs

quiz-placeholder

Similar activities

Bimestral: Bootstrap

Bimestral: Bootstrap

University

30 Qs

HTML y CSS

HTML y CSS

University - Professional Development

30 Qs

html and css quiz

html and css quiz

8th Grade - University

26 Qs

CSS

CSS

9th Grade - Professional Development

35 Qs

Weekly Test 1

Weekly Test 1

University

30 Qs

CSS Medium level Quiz

CSS Medium level Quiz

University

30 Qs

CW412 PART III

CW412 PART III

University

29 Qs

{ CSS } 3 Days Boot Camp

{ CSS } 3 Days Boot Camp

University

30 Qs

HTML & CSS Quiz (Codecademy)

HTML & CSS Quiz (Codecademy)

Assessment

Quiz

Computers

University

Medium

Created by

VIKAS BANDARU

Used 19+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers