JavaScript and HTML Quiz

JavaScript and HTML Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Quiz by Ortusolis Technology Solutions Level 1

Quiz by Ortusolis Technology Solutions Level 1

KG - University

20 Qs

Diseño Web - Etiquetas

Diseño Web - Etiquetas

12th Grade

20 Qs

WEEK5

WEEK5

12th Grade

18 Qs

1 ano - Se Liga

1 ano - Se Liga

7th Grade - University

20 Qs

MM - JavaScript

MM - JavaScript

12th Grade

15 Qs

JS 1

JS 1

12th Grade

15 Qs

Diagnostic Test (HTML, CSS, Javascript)

Diagnostic Test (HTML, CSS, Javascript)

12th Grade

20 Qs

HTML test

HTML test

9th - 12th Grade

15 Qs

JavaScript and HTML Quiz

JavaScript and HTML Quiz

Assessment

Quiz

Other

12th Grade

Hard

Created by

Roghith Haridass215

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which HTML tag is used to define a hyperlink?

<href>

<link>

<hyperlink>

<a>

2.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?