Chapter 8: Introduction to HTML — Online MCQ Test
INFORMATION TECHNOLOGY · Grade 6 · CBSE(NCERT)
Practice Chapter 8: Introduction to HTML with a free chapter-wise online MCQ test.
This chapter covers: HTML Tags Elements Attributes Head Body Paragraph Heading Hyperlink Image Lists Web page structure.
AI-generated questions from basic to board-exam level, with instant results and explanations.
Chapter 8: Introduction to HTML — Important Questions & Answers
What does HTML stand for?
- A. Hyper Text Markup Language
- B. High Tech Modern Language
- C. Home Tool Markup Language
- D. Hyperlinks and Text Markup Language
Answer: A. Hyper Text Markup Language
HTML stands for HyperText Markup Language, which is the standard language used to create web pages.
HTML stands for HyperText Markup Language, which is the standard language used to create web pages.
Which of the following is the correct syntax for an HTML tag?
- A. [tag content /tag]
- B. <tag> content </tag>
- C. {tag} content {/tag}
- D. |tag| content |/tag|
Answer: B. <tag> content </tag>
HTML tags are written within angle brackets < >, with opening and closing tags surrounding the content.
HTML tags are written within angle brackets < >, with opening and closing tags surrounding the content.
Which attribute is used in the <a> tag to specify the destination URL of a hyperlink?
- A. src
- B. href
- C. link
- D. url
Answer: B. href
The href (hypertext reference) attribute in the <a> tag specifies where the link should navigate to when clicked.
The href (hypertext reference) attribute in the <a> tag specifies where the link should navigate to when clicked.
Compare ordered and unordered lists. What is the key difference?
- A. Ordered lists are longer; unordered lists are shorter
- B. Ordered lists use numbers; unordered lists use bullets or other symbols
- C. Ordered lists use <ul>; unordered lists use <ol>
- D. Ordered lists are for headings; unordered lists are for paragraphs
Answer: B. Ordered lists use numbers; unordered lists use bullets or other symbols
Ordered lists (<ol>) display items with sequential numbers, while unordered lists (<ul>) display items with bullets or other symbols.
Ordered lists (<ol>) display items with sequential numbers, while unordered lists (<ul>) display items with bullets or other symbols.
A student created a webpage with multiple <h1> tags. While it displays correctly, why is this not a best practice?
- A. Multiple <h1> tags slow down the webpage
- B. It violates semantic HTML rules; only one <h1> should represent the main heading per page for proper structure and SEO
- C. Multiple <h1> tags cause browser errors
- D. It is impossible to have multiple <h1> tags in HTML
Answer: B. It violates semantic HTML rules; only one <h1> should represent the main heading per page for proper structure and SEO
While multiple <h1> tags don't break functionality, semantic best practice suggests using one <h1> per page for main content and proper document hierarchy.
While multiple <h1> tags don't break functionality, semantic best practice suggests using one <h1> per page for main content and proper document hierarchy.