HTML Web Design Questions and Answers
Practice ModeShowing 10 of 196 questions
Q181
To show deleted text, which element is used?
Answer: Option A
Explanation: The <del> element represents text that has been deleted from a document, typically displayed with strikethrough.
Q182
What is the correct syntax of a web address?
Answer: Option D
Explanation: URL syntax follows the pattern: scheme://prefix.domain:port/path/filename for complete web addresses.
Q183
Which tag is used to create a dropdown in a form?
Answer: Option B
Explanation: The <select> element creates a dropdown list, with <option> elements defining the available choices.
Q184
Which tag creates a numbered list?
Answer: Option A
Explanation: The <ol> (ordered list) tag creates a numbered list, with each item marked by <li> elements.
Q185
How to create a checkbox in HTML?
Answer: Option C
Explanation: The <input type="checkbox"> creates a checkbox that users can select or deselect for multiple choices.
Q186
Which extension is used to save an HTML file?
Answer: Option D
Explanation: HTML files are typically saved with .html extension, though .htm is also supported for compatibility.
Q187
Which tag creates a blank line in HTML?
Answer: Option B
Explanation: The <br> tag inserts a single line break, creating a new line without starting a new paragraph.
Q188
Which HTML tag makes text italic?
Answer: Option C
Explanation: The <i> tag makes text italic, typically used for technical terms, phrases, or thoughts.
Q189
What is the use of `<hr/>` tag in HTML?
Answer: Option D
Explanation: The <hr> tag creates a thematic break or horizontal rule to separate content sections.
Q190
Which attribute is not essential under `<iframe>`?
Answer: Option A
Explanation: While src, width, and height are essential for iframe functionality, frameborder is optional and stylistic.