HTML MCQ Questions
HTML MCQ Questions are designed to help you test your knowledge and understanding of HTML (Hypertext Markup Language). These multiple-choice questions cover a wide range of topics including HTML tags, elements, attributes, forms, tables, and web page structure. Whether you're a beginner learning the basics or an experienced developer refining your skills, these MCQs provide a great way to assess your expertise. Ideal for exam preparation, interviews, or personal learning, these questions will help solidify your understanding of HTML and web development fundamentals.
Correct Answer: B
Q2. Which HTML tag is used to define the largest heading?
Correct Answer: C
defines the largest heading.
Q3. Which HTML tag is used to insert a line break?
Correct Answer: B
is used to insert a line break.
Q4. Which tag is used to display an image in HTML?
Correct Answer: A
Q5. Which attribute is used in <img> tag to specify image source?
Correct Answer: B
Q6. Which tag is used to create a hyperlink in HTML?
Correct Answer: A
Q7. What is the correct HTML tag for inserting a line?
Correct Answer: C
inserts a horizontal line.
Q8. Which attribute provides alternative text for images?
Correct Answer: C
Q9. Which tag is used to define a paragraph in HTML?
Correct Answer: C
is used for paragraphs.
Q10. Which HTML element is used for bold text?
Correct Answer: C
Q11. Which tag is used to create a numbered list?
Correct Answer: C
- defines an ordered (numbered) list.
Q12. Which tag is used to create a bulleted list?
Correct Answer: C
- defines an unordered (bulleted) list.
Q13. Which HTML element is used to play video files?
Correct Answer: C
Q14. Which HTML element is used to play audio files?
Correct Answer: C
Q15. Which HTML attribute is used to open a link in new tab?
Correct Answer: C
Q16. Which element is used to insert an inline style in HTML?
Correct Answer: A