MCQ
What is JavaScript mainly used for in web development?
Unit-3 Programming Fundamentals
A
Structuring page content
B
Adding interactivity and dynamic behavior
C
Styling the page layout
D
Storing data in databases
Explanation
JavaScript adds interactivity and dynamic behavior to web pages.
Related MCQs
What is HTML best described as?
Unit-3 Programming Fundamentals
View
What does the statement if (score >= 40) check?
Unit-3 Programming Fundamentals
View
Which attribute merges two or more columns in an HTML table cell?
Unit-3 Programming Fundamentals
View
Which attribute specifies the source file of an image in the <img> tag?
Unit-3 Programming Fundamentals
View
Which keyword is used to declare a variable that can be changed later in JavaScript?
Unit-3 Programming Fundamentals
View
Which tag is used to connect an external CSS file to an HTML document?
Unit-3 Programming Fundamentals
View