Search Header Logo

HTML and CSS Quiz

Authored by Gnaneshwar Reddy

Other

University

Used 2+ 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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tag is used to define a table row in HTML?

A. <td>

B. <table>

C. <row>

D. <tr>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute is used to provide an alternate text for an image?

alt

title

src

href

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct HTML for creating a checkbox?

A. <input type="checkbox">

B. <checkbox>

C. <check type="box">

D. <input checkbox>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CSS stand for?

Computer Style Sheets

Cascading Style Sheets

Creative Style Sheets

Colorful Style Sheets

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where in an HTML document is the correct place to link an external CSS file?

A. At the bottom of the body section

B. Inside the <footer>

C. In the <head> section

D. Inside the <body>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct CSS syntax to change the background color?

background-color: red;

bg-color = red;

color-background: red;

background: color red;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you make all

elements bold in CSS?

p { font-weight: bold; }

p { text-size: bold; }

p { bold: true; }

p { font: bold; }

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?