Web Developer Interview Preparation
Chapter 1: HTML MCQ Notes
1. What does HTML stand for?
Answer: HyperText Markup Language
2. HTML is a...
Answer: Markup language, not a programming language.
3. Largest heading tag?
Answer: <h1>
4. Hyperlink tag?
Answer: <a>
5. Open link in new tab?
Answer: target="_blank"
6. Image tag?
Answer: <img>
7. Image source attribute?
Answer: src
8. Semantic tags?
Answer: <header>, <nav>, <main>, <section>, <article>, <aside>, <footer>
9. id vs class?
Answer: id is unique; class is reusable.
10. Block vs Inline?
Answer: Block: div,p,h1. Inline: span,a,strong.
11. Required form attribute?
Answer: required
12. GET vs POST?
Answer: GET sends URL params; POST sends request body.
13. Local vs Session Storage?
Answer: Local persists; Session clears when tab closes.
14. Table tag?
Answer: <table>
15. Ordered/Unordered list?
Answer: <ol> and <ul>
16. Password input?
Answer: type="password"
17. Video tag?
Answer: <video>
18. Audio tag?
Answer: <audio>
19. DOCTYPE purpose?
Answer: Enables HTML5 standards mode.
20. Responsive meta tag?
Answer: viewport meta tag
Quick Revision
• HTML provides webpage structure. • Learn semantic tags, forms, tables, lists,
storage, and media tags. • GET uses URL, POST uses request body. • id is unique, class
is reusable.