Last HTML and CSS Quiz

Last HTML and CSS Quiz

6th Grade

23 Qs

quiz-placeholder

Similar activities

HTML CSS JS

HTML CSS JS

6th - 8th Grade

20 Qs

Adobe Photoshop CS 2 Kelas 6

Adobe Photoshop CS 2 Kelas 6

6th Grade - University

25 Qs

latihan soal tik kelas 6

latihan soal tik kelas 6

6th Grade

25 Qs

Інформація, дані, повідомлення

Інформація, дані, повідомлення

6th Grade

20 Qs

Css quiz

Css quiz

6th - 8th Grade

20 Qs

Bagian-Bagian Pada Excel

Bagian-Bagian Pada Excel

6th - 8th Grade

18 Qs

Sexto 2025 - Cuarto Periodo

Sexto 2025 - Cuarto Periodo

6th Grade

21 Qs

SQL - 1o.E Tech

SQL - 1o.E Tech

1st Grade - University

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?