Search Header Logo

HTML, CSS, and JavaScript Quiz

Authored by Jayanthi P

Computers

University

Used 2+ times

HTML, CSS, and JavaScript 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

What does HTML stand for?

Hypertext Markup Language

Hyperlink and Text Markup Language

Hypertext Multi-Layer

High-Level Text Markup Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

style

script

css

link

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is used to change the background color of an element in CSS?

background-color

bgcolor

color-background

background

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CSS, which selector targets all

elements inside a

with the class container?

.container p

div.container p

p.container

div p.container

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTTP method is used to request data from a server?

POST

PUT

GET

DELETE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the alt attribute in an HTML tag?

To specify the image's width and height

To provide alternative text for screen readers and when the image fails to load

To define the image's border style

To set the image's background color

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid CSS comment?

<--this is a comment-->

/* This is a comment */

// This is a comment

-- This is a comment --

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?

Discover more resources for Computers