Last HTML and CSS Quiz

Last HTML and CSS Quiz

6th Grade

23 Qs

quiz-placeholder

Similar activities

Year 6 ICT | Progression Test 2

Year 6 ICT | Progression Test 2

6th Grade

18 Qs

KODING & KA

KODING & KA

6th - 8th Grade

20 Qs

Operator Perbandingan dan Logika

Operator Perbandingan dan Logika

6th - 8th Grade

20 Qs

Діаграми з піктограмами у Scratch

Діаграми з піктограмами у Scratch

6th Grade

20 Qs

Інтернет

Інтернет

6th Grade

20 Qs

SB8-9F2

SB8-9F2

6th - 8th Grade

24 Qs

Sistem Komputer (IoT dan Bahasa Pemrograman)

Sistem Komputer (IoT dan Bahasa Pemrograman)

6th Grade

20 Qs

Last HTML and CSS Quiz

Last HTML and CSS Quiz

Assessment

Quiz

Information Technology (IT)

6th Grade

Practice Problem

Hard

Created by

Muhammad Muhammad

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used to define an internal style sheet?

<css>

<style>

<script>

<link>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct CSS property to make a text bold?

font-weight: bold;

text-style: bold;

font-bold: true;

bold: yes;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax to apply a class in CSS?

#classname {}

.classname {}

classname {}

@classname {}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default position property of an HTML element?

relative

absolute

static

fixed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CSS, how do you select all <p> elements inside a <div>?

div p {}

div > p {}

div + p {}

div, p {}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to control the space between elements' borders and their content?

margin

padding

spacing

border-spacing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to include an external CSS file in an HTML document?

<link href="styles.css">

<style src="styles.css">

<css link="styles.css">

<link rel="stylesheet" href="styles.css">

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?