1. : Which language is used to structure content on a web page?
(A) CSS
(B) HTML
(C) JavaScript
(D) PHP
2. : Which HTML tag is used to create a hyperlink?
” onclick=”checkAnswer(‘q2’, ‘‘)”> (A) ” onclick=”checkAnswer(‘q2’, ‘‘)”> (B) ” onclick=”checkAnswer(‘q2’, ‘‘)”> (C) ” onclick=”checkAnswer(‘q2’, ‘‘)”> (D)
3. : CSS is mainly used for what purpose?
(A) Adding interactivity
(B) Structuring content
(C) Styling web pages
(D) Creating databases
4. : Which CSS property is used to change the text color?
(A) font-style
(B) color
(C) text-align
(D) background
5. : JavaScript is primarily used for what in web development?
(A) Designing layout
(B) Adding interactivity
(C) Structuring content
(D) Storing data on servers
6. : Which HTML element is used to display the largest heading?
” onclick=”checkAnswer(‘q6’, ‘
‘)”> (A)
” onclick=”checkAnswer(‘q6’, ‘
‘)”> (B)
” onclick=”checkAnswer(‘q6’, ‘
‘)”> (C)
” onclick=”checkAnswer(‘q6’, ‘
‘)”> (D)
7. : In JavaScript, which symbol is used for single-line comments?
(A) //
” onclick=”checkAnswer(‘q7’, ‘//’)”> (B)
(C) ##
(D) /**/
8. : Which CSS property controls the size of text?
(A) font-weight
(B) font-size
(C) text-style
(D) size
9. : Which HTML tag is used to insert an image?
" onclick="checkAnswer('q9', '')"> (A)
" onclick="checkAnswer('q9', '')"> (B)
" onclick="checkAnswer('q9', '')"> (C)
" onclick="checkAnswer('q9', '')"> (D)
10. : In JavaScript, which keyword is used to declare a variable?
(A) var
(B) let
(C) const
(D) All of the above