HTML Web Design Questions and Answers
Practice ModeShowing 10 of 196 questions
Q171
Which HTML tag is used to insert an image?
Answer: Option C
Explanation: The <img> tag with src attribute specifies the image source file path or URL to display the image.
Q172
HTML is a subset of ___________
Answer: Option B
Explanation: HTML is derived from SGML (Standard Generalized Markup Language), which is a standard for defining markup languages.
Q173
Which character is used to close a tag in HTML?
Answer: Option C
Explanation: The forward slash (/) is used in closing tags to indicate the end of an element, e.g., </p> closes a paragraph.
Q174
Among the following, which is the HTML paragraph tag?
Answer: Option A
Explanation: The <p> tag defines a paragraph of text, creating block-level elements with automatic spacing.
Q175
In HTML, which attribute opens a link in a new tab?
Answer: Option D
Explanation: The target="_blank" attribute value makes links open in a new browser tab or window when clicked.
Q176
Which HTML element is used for a short quote?
Answer: Option C
Explanation: The <q> element is for short inline quotations, while <blockquote> is for longer block-level quotations.
Q177
Which tag creates an unordered list?
Answer: Option B
Explanation: The <ul> tag creates an unordered (bulleted) list, with each item marked by <li> elements.
Q178
Which HTML element is used for abbreviation?
Answer: Option A
Explanation: The <abbr> element represents an abbreviation or acronym, with the full form provided in the title attribute.
Q179
Which tag is used to add a row in a table?
Answer: Option C
Explanation: The <tr> (table row) element defines a row in an HTML table, containing <td> or <th> cells.
Q180
Which tag is used to create a text area in a form?
Answer: Option A
Explanation: The <textarea> element creates a multi-line text input field, with rows and cols attributes to specify size.