WEB DEVELOPMENT FINAL EXAM
1. What does HTML stand for?
A. Hyper Text Markup Language
B. High Text Machine Language
C. Hyperlinks and Text Mark Language
D. Home Tool Markup Language
Answer: A
HTML stands for Hyper Text Markup Language, which is the standard language used to create and
structure web pages.
2. Which tag is used to insert a line break in HTML?
A. <break>
B. <lb>
C. <br>
D. <newline>
Answer: C
The <br> tag creates a line break in HTML content.
3. CSS is used for:
A. Database management
B. Styling web pages
C. Server-side scripting
D. Creating APIs
Answer: B
CSS (Cascading Style Sheets) is used to style and layout web pages.
4. Which symbol is used for ID selector in CSS?
A. .
B. #
C. *
D. $
Answer: B
The # symbol is used to target elements by ID in CSS.
5. JavaScript is primarily used for:
,A. Structuring pages
B. Styling pages
C. Client-side interactivity
D. Database design
Answer: C
JavaScript enables interactivity and dynamic behavior in web pages.
6. Which HTML tag creates the largest heading?
A. <h6>
B. <heading>
C. <h1>
D. <head>
Answer: C
<h1> defines the largest heading in HTML.
7. What does DOM stand for?
A. Document Object Model
B. Data Object Method
C. Digital Ordinance Model
D. Document Order Map
Answer: A
DOM is a programming interface representing HTML documents as a tree structure.
8. Which HTML attribute is used to define inline styles?
A. class
B. style
C. css
D. font
Answer: B
The style attribute is used for inline CSS styling.
9. Which company developed JavaScript?
A. Microsoft
B. Sun Microsystems
C. Netscape
D. Oracle
Answer: C
JavaScript was created by Netscape.
, 10. Which CSS property changes text color?
A. text-color
B. font-color
C. color
D. foreground
Answer: C
The color property changes text color in CSS.
11. Which tag is used for hyperlinks?
A. <link>
B. <a>
C. <href>
D. <hyper>
Answer: B
The <a> tag creates hyperlinks.
12. What does HTTP stand for?
A. Hyper Text Transfer Protocol
B. High Transfer Text Protocol
C. Hyperlink Text Transmission Program
D. Home Tool Transfer Process
Answer: A
HTTP is the protocol used for web communication.
13. Which HTML tag is used for images?
A. <img>
B. <image>
C. <pic>
D. <src>
Answer: A
<img> embeds images in web pages.
14. What is the correct file extension for JavaScript files?
A. .java
B. .js
C. .javascript
D. .script
1. What does HTML stand for?
A. Hyper Text Markup Language
B. High Text Machine Language
C. Hyperlinks and Text Mark Language
D. Home Tool Markup Language
Answer: A
HTML stands for Hyper Text Markup Language, which is the standard language used to create and
structure web pages.
2. Which tag is used to insert a line break in HTML?
A. <break>
B. <lb>
C. <br>
D. <newline>
Answer: C
The <br> tag creates a line break in HTML content.
3. CSS is used for:
A. Database management
B. Styling web pages
C. Server-side scripting
D. Creating APIs
Answer: B
CSS (Cascading Style Sheets) is used to style and layout web pages.
4. Which symbol is used for ID selector in CSS?
A. .
B. #
C. *
D. $
Answer: B
The # symbol is used to target elements by ID in CSS.
5. JavaScript is primarily used for:
,A. Structuring pages
B. Styling pages
C. Client-side interactivity
D. Database design
Answer: C
JavaScript enables interactivity and dynamic behavior in web pages.
6. Which HTML tag creates the largest heading?
A. <h6>
B. <heading>
C. <h1>
D. <head>
Answer: C
<h1> defines the largest heading in HTML.
7. What does DOM stand for?
A. Document Object Model
B. Data Object Method
C. Digital Ordinance Model
D. Document Order Map
Answer: A
DOM is a programming interface representing HTML documents as a tree structure.
8. Which HTML attribute is used to define inline styles?
A. class
B. style
C. css
D. font
Answer: B
The style attribute is used for inline CSS styling.
9. Which company developed JavaScript?
A. Microsoft
B. Sun Microsystems
C. Netscape
D. Oracle
Answer: C
JavaScript was created by Netscape.
, 10. Which CSS property changes text color?
A. text-color
B. font-color
C. color
D. foreground
Answer: C
The color property changes text color in CSS.
11. Which tag is used for hyperlinks?
A. <link>
B. <a>
C. <href>
D. <hyper>
Answer: B
The <a> tag creates hyperlinks.
12. What does HTTP stand for?
A. Hyper Text Transfer Protocol
B. High Transfer Text Protocol
C. Hyperlink Text Transmission Program
D. Home Tool Transfer Process
Answer: A
HTTP is the protocol used for web communication.
13. Which HTML tag is used for images?
A. <img>
B. <image>
C. <pic>
D. <src>
Answer: A
<img> embeds images in web pages.
14. What is the correct file extension for JavaScript files?
A. .java
B. .js
C. .javascript
D. .script