Search Header Logo

HTML and CSS Quiz

Authored by Sivakumar B

Computers

University

Used 1+ times

HTML and CSS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which tag defines a paragraph in HTML?

<p>

<para>

<text>

<section>

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the <head> section of an HTML document contain?

A) Body content

B) Styling only

C) Metadata

D) Footer elements

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is used to connect an external CSS file to an HTML file?

<css>

<style>

<link>

<script>

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which CSS property affects the space inside an element’s border?

A) margin

B) padding

C) border-spacing

D) gap

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How is a background color applied to a webpage using CSS?

A) text-color

B) background-image

C) bgcolor

D) background-color

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which element groups block-level content in HTML?

<div>

<span>

<section>

<body>

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you define a heading level 1 in HTML?

<h1>

<head>

<title>

<heading1>

Access all questions and much more by creating a free account

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

Already have an account?