tag is used to define a paragraph in HTML.
C)
D)
Answer: B
Explanation:
The
Q5. Which tag is used to insert a line break?
A)
B)
C)
D)
Answer: C
Explanation:
is used to insert a line break without starting a new paragraph.
Q6. Which tag is used to create a hyperlink?
A)
B)
C)
D)
Answer: B
Explanation:
The tag (anchor tag) is used to create hyperlinks in HTML.
Q7. The attribute used with tag is:
A) src
B) href
C) alt
D) type
Answer: B
Explanation:
The href attribute specifies the destination URL of the hyperlink.
Q8. Which tag is used to insert an image?
A)
B)
C)
D)
Answer: B
Explanation:
The tag is used to display images on a webpage.
Q9. The attribute used with tag is:
A) href
B) src
C) link
D) file
Answer: B
Explanation:
The src attribute specifies the path of the image file.
Q10. Which tag is used for an unordered list?
A)
B)
C)
D)
Answer: B
Explanation:
is used for unordered (bulleted) lists.
Q11. Which tag is used for an ordered list?
A)
B)
C)
D)
Answer: C
Explanation:
creates an ordered (numbered) list.
Q12. Which tag is used for list items?
A)
B)
C)
D)
Answer: A
Explanation:
Q13. Which tag is used to create a table?
A)
B)
C)
D)
Answer: B
Explanation:
The tag is used to create a table structure.
Q14. Which tag is used for a table row?
A)
B)
C)
D)
Answer: C
Explanation:
stands for table row.
Q15. Which tag is used for table data?
A)
B)
C)
D)
Answer: A
Explanation:
is used for normal table cell data.
Q16. Which tag is used for table heading?
A)
B)
C)
D)
Answer: B
Explanation:
is used for table heading cells.
Q17. Which tag contains metadata?
A)
B)
C)
D)
Answer: C
Explanation:
The section contains metadata like title, links, and meta tags.
Q18. Which tag defines the title of webpage?
A)
B)
C)
D)
Answer: A
Explanation:
The
Q19. Which section displays visible content?
A)
B)
C)
D)
Answer: B
Explanation:
The
Q20. Which tag is used for horizontal line?
A)
B)
C)
D)
Answer: B
Explanation:
inserts a horizontal line across the page.
Q21. HTML comments are written as:
A) // comment
B)
C) /* comment */
D) ## comment
Answer: B
Explanation:
HTML comments are written using .
Q22. Which tag is used for division/grouping?
A)
B)
C)
D)
Answer: C
Explanation:
Q23. Which tag is used for inline grouping?
A)
B)
C)
D)
Answer: B
Explanation:
is used for inline grouping of text or elements.
Q24. Character entities are used for:
A) Adding CSS
B) Displaying reserved symbols
C) Creating forms
D) Creating tables
Answer: B
Explanation:
Character entities help display special characters like <, >, &.
Q25. Example of character entity for less than sign is:
A) <
B) >
C) &
D) ©
Answer: A
Explanation:
< is used to display the less-than symbol <.
Q26. URL encoding is used for:
A) Styling webpage
B) Converting special characters in URL
C) Creating forms
D) Creating images
Answer: B
Explanation:
URL encoding converts spaces and special characters into valid URL format.
Q27. Which tag creates frames in old HTML?
A)
B)