Search Header Logo

HTML, CSS, and JavaScript Quiz

Authored by Roghith Haridass215

Other

12th Grade

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML tag is used to define a hyperlink?

<href>

<link>

<hyperlink>

<a>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the tag in HTML?

The tag is used to define the body of the document.

The tag contains meta-information about the HTML document.

The tag is responsible for styling the HTML elements.

The tag displays the main content of the webpage.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the CSS box model?

The CSS box model is a programming language for web development.

The CSS box model is a type of graphic design software.

The CSS box model is a fundamental concept that defines how elements are structured and spaced in web design.

The CSS box model only applies to images.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Flexbox and how is it used in CSS?

Flexbox is a CSS layout model that provides a more efficient way to arrange and align items in a container.

Flexbox is a CSS property that only applies to images.

Flexbox is a JavaScript framework for building web applications.

Flexbox is a method for creating animations in CSS.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in JavaScript?

A function in JavaScript is a method for creating objects.

A function in JavaScript is a type of variable.

A function in JavaScript is a data structure that holds values.

A function in JavaScript is a reusable block of code that performs a specific task.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a function in JavaScript?

myFunction() => { // code }

declare function myFunction() { // code }

function:myFunction() { // code }

function myFunction() { // code }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between function declarations and function expressions?

Function declarations require a return type; function expressions do not.

Function declarations can only be used once; function expressions can be reused.

Function expressions are always named; function declarations can be anonymous.

Function declarations are hoisted; function expressions are not.

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?