NEW
Font size
WorksheetsWeb Development Quiz
Total questions: 15
Worksheet time: 4mins
What is the purpose of meta tags?
To display images on a webpage
To provide information about the webpage
To style the webpage
To create forms for user input
Which attribute is commonly used in meta tags to describe the author?
generator
description
keywords
author
What is the function of web crawlers?
To enhance website usability
To upload files to a server
To create advertisements
To match inquiries to HTML documents
What is plagiarism?
The use of original ideas
The act of copying someone else's work
The creation of new content
The process of editing a document
Which of the following is a characteristic of JavaScript?
It is a server-side scripting language
It requires a web browser to run
It is a compiled language
It cannot manipulate HTML
What does the Document Object Model (DOM) allow you to do?
Create images for a webpage
Upload files to a server
Access and manipulate document contents
Style the webpage with CSS
Which operator is used for addition in JavaScript?
-
*
+
/
What is the purpose of a function in JavaScript?
To store data
To perform a specific task
To create variables
To define styles
What does the 'var' keyword do in JavaScript?
Declares a variable
Defines a function
Creates an object
Initializes an array
Which of the following is a valid way to declare a variable in JavaScript?
var name 1;
var name-1;
var name1;
var 1name;
What is the purpose of the 'this' keyword in JavaScript?
To create a new object
To define a function scope
To refer to the global object
To refer to the current object
Which method is used to convert a JSON string into a JavaScript object?
JSON.parse()
JSON.stringify()
JSON.convert()
JSON.objectify()
What does the 'addEventListener' method do in JavaScript?
It adds a new element to the DOM
It attaches an event handler to an element
It removes an event handler from an element
It creates a new event
Who invented JavaScript?
Brendan Eich
Brandon Lich
Dennis Ritchie
Tim Berners-Lee
Writes a string of text to the document
Print()
getElementby()
Write()
Writeln()
