HTML Web Design Questions and Answers
Practice ModeShowing 10 of 196 questions
Q161
Which of the following tag is used for inserting the largest heading in HTML?
Answer: Option B
Explanation: HTML provides six heading levels from <h1> (largest/most important) to <h6> (smallest/least important).
Q162
What is DOM in HTML?
Answer: Option D
Explanation: The Document Object Model (DOM) represents the document as a tree structure that can be manipulated programmatically.
Q163
In which part of the HTML metadata is contained?
Answer: Option A
Explanation: The <head> section contains metadata like title, character set, styles, scripts, and other information not displayed on the page.
Q164
Which element is used to get highlighted text in HTML5?
Answer: Option B
Explanation: The <mark> element is used to highlight text, typically with a yellow background, to indicate relevance.
Q165
Which of the following is not a HTML5 tag?
Answer: Option C
Explanation: HTML5 introduced many new semantic elements but <slider> is not a valid HTML5 tag.
Q166
How do we write comments in HTML?
Answer: Option B
Explanation: HTML comments are written between <!-- and --> and are not displayed in the browser.
Q167
Which element in HTML5 defines video content?
Answer: Option A
Explanation: The <video> element is used to embed video content in web pages with support for multiple formats.
Q168
Which is not an element associated with HTML table layout?
Answer: Option B
Explanation: Table layout focuses on structure, alignment, sizing, and cell spanning, not on presentation aspects like color.
Q169
Which element is used for styling HTML5 layout?
Answer: Option A
Explanation: CSS (Cascading Style Sheets) is used to style and layout HTML elements, controlling appearance and positioning.
Q170
Which HTML tag is used for making text bold?
Answer: Option B
Explanation: The <b> tag makes text bold without conveying extra importance, while <strong> indicates important text.