Demystifying Web Development: HTML, CSS, and JavaScript

8 questions • 3 - 5 minutes

web development

What does HTML stand for?

Hyperlink and Text Markup Language

Hyper Transfer Markup Language

Hypertext Markup Language

High-Level Text Markup Language

Question 1

Which of the following is used to style the appearance of HTML elements?

HTML

JavaScript

CSS

SQL

Question 2

Which HTML tag is used to create a hyperlink?

link

anchor

href

url

Question 3

What is the purpose of JavaScript in web development?

Create structured documents

Style web pages

Add interactivity and functionality

Define the layout of web pages

Question 4

Which of the following CSS properties is used to change the text color of an element?

font-size

background-color

text-color

color

Question 5

In JavaScript, how do you declare a variable?

var myVar;

variable myVar;

declare myVar;

int myVar;

Question 6

Which HTML element is used to define the structure of an HTML document and contains metadata about the document?

body

head

title

paragraph

Question 7

What is the correct way to comment out multiple lines of code in JavaScript?

/* This is a comment */

// This is a comment //

' This is a comment '

# This is a comment #

Question 8

Quiz Summary

Accuracy

Performance Statistics

Correct

Incorrect

Ellapsed Time

Review Questions

Click on the questions to see answers.

1. What does HTML stand for?

a) Hyperlink and Text Markup Language
b) Hyper Transfer Markup Language
c) Hypertext Markup Language
d) High-Level Text Markup Language

2. Which of the following is used to style the appearance of HTML elements?

a) HTML
b) JavaScript
c) CSS
d) SQL

3. Which HTML tag is used to create a hyperlink?

a) link
b) anchor
c) href
d) url

4. What is the purpose of JavaScript in web development?

a) Create structured documents
b) Style web pages
c) Add interactivity and functionality
d) Define the layout of web pages

5. Which of the following CSS properties is used to change the text color of an element?

a) font-size
b) background-color
c) text-color
d) color

6. In JavaScript, how do you declare a variable?

a) var myVar;
b) variable myVar;
c) declare myVar;
d) int myVar;

7. Which HTML element is used to define the structure of an HTML document and contains metadata about the document?

a) body
b) head
c) title
d) paragraph

8. What is the correct way to comment out multiple lines of code in JavaScript?

a) /* This is a comment */
b) // This is a comment //
c) ' This is a comment '
d) # This is a comment #