HTML Web Design Questions and Answers
Practice ModeShowing 10 of 196 questions
Q191
Which works similar to `<b>` element?
Answer: Option B
Explanation: Both <b> and <strong> make text bold, but <strong> also indicates semantic importance to screen readers.
Q192
Which tag underlines text in HTML?
Answer: Option B
Explanation: The <u> tag underlines text, though it's often avoided as underlines are typically reserved for links.
Q193
Which attribute assigns a unique ID to an element?
Answer: Option C
Explanation: The id attribute provides a unique identifier for an HTML element, which must be unique within the document.
Q194
Which is an HTML specification to add more info to tags?
Answer: Option D
Explanation: Microdata is an HTML5 specification that adds semantic meaning to content for better machine readability.
Q195
Which HTML element is used for YouTube videos?
Answer: Option D
Explanation: The <iframe> element is used to embed external content like YouTube videos within a web page.
Q196
Which HTML element is used for canvas graphics?
Answer: Option C
Explanation: The <canvas> element provides a drawing surface that can be manipulated using JavaScript for dynamic graphics.