HTML - Multiple Choice Questions (MCQs)
1. What does HTML stand for?
2. Which of the following is a use of HTML?
3. HTML web pages are read and rendered by which of the following?
4. HTML web pages are read and rendered by which of the following?
5. What is the significance of the DOCTYPE declaration in HTML?
6. What will be displayed in the browser for the following HTML code? < html >< body >< h1 > Hello World < /h1 >< /body >< /html >
7. Which tag is used to define the title of a document in HTML?
8. Which of the following tags are mandatory in an HTML document?
9. What is the function of the < head > element in an HTML document?
10. In HTML, which tag is used to create a paragraph?
11. Which of the following elements are considered (block − level) elements in HTML?
12. What is the primary purpose of the < body > tag in an HTML document?
13. What will be displayed on the web page for this HTML code : < html >< head >< title > Page Title < /title >< /head >< body > Hello World < /body >< /html >?
14. Which HTML element is used to define the footer of an HTML document?
15. Identify the mistake in this HTML code : < html >< head >< title > My Page < /title >< body >< p > Welcome to my page < /p >< /body >< /head >< /html >
16. Spot the error in this HTML document structure : < html >< head >< title > Document < /title >< /head >< body >< h1 > Heading < /p >< p > Paragraph < /h1 >< /body >< /html >
17. Which tag is used to make text bold in HTML?
18. What is the purpose of the < em > tag in HTML?
19. Which HTML tag is used to represent a thematic break in the content?
20. How is a subscript text displayed using HTML tags?
21. Which tag is used to display text in a monospaced (typewriter − style) font in HTML?
22. Which HTML tag is used to underline text?
23. What does the < abbr > tag represent in HTML?
24. Which tag is used to define marked or highlighted text in HTML?
25. Which HTML element is used to define a part of text in an alternate voice or mood?
26. What is the result of this HTML code : < p > This is < b > important < /b > text. < /p >?
27. Which tag is used to create a line break in an HTML document?
28. Find the error in this HTML snippet : < p > Welcome to < b > our website < /p >< /b >
29. Identify the mistake : < html >< body >< p > HTML is < i > very < /i >< b > interesting. < /p >< /body >< /html >
30. Spot the error in : < p > HTML is < em > fun < /u > to learn < /p >
Written by RGB Web Tech
Multiple Choice Questions
Comprehensive MCQ collection covering diverse topics such as PHP, Python, Ruby, Rust, Java, Android, iOS, Flutter, Big Data, AI, Machine Learning, Cyber Security, Digital Marketing, and more. Enhance your skills with quizzes on programming, data science, app development, CMS, robotics, design tools, and software testing.