Question
Download Solution PDFWhich of the following is empty or void element in HTML?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFConcept:
- HTML elements with no content are called empty elements. Empty elements can be closed in the start tag.
is an empty element without a closing tag (the
tag defines a line break).
Explanation:
An empty element is an element of HTML that do not have any child nodes.
— inserts a line break
— inserts a horizontal line
— used to display images
— it’s an input
— defines relationships between the documents
— changes metadata of your web page
— inserts a media source
Therefore Option 2 is correct
Last updated on Jun 6, 2025
-> The HTET TGT Applciation Portal will reopen on 1st June 2025 and close on 5th June 2025.
-> HTET Exam Date is out. HTET TGT Exam will be conducted on 26th and 27th July 2025
-> Candidates with a bachelor's degree and B.Ed. or equivalent qualification can apply for this recruitment.
-> The validity duration of certificates pertaining to passing Haryana TET has been extended for a lifetime.
-> Enhance your exam preparation with the HTET Previous Year Papers.