Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
1.0k views
in Programming by (72.7k points)
closed by
Which of the following is not a void element of HTML?
1. <img.../>
2. <div .../>
3. <hr />
4. <br/>

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
Correct Answer - Option 2 : <div .../>

Concept:

  • HTML elements with no content are called empty elements. Empty elements can be closed in the start tag.
  • <br> is an empty element without a closing tag (the <br> tag defines a line break).

Explanation:

An empty element is an element of HTML that do not have any child nodes.
<br> — inserts a line break
<hr> — inserts a horizontal line
<img> -- used to display images
<input> —  it’s an input
<link> — defines relationships between the documents
<meta> — changes metadata of your web page
<source> — inserts a media source

<ins> — A text with a deleted part, and a new, inserted part:

Therefore Option 2 is the correct answer

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...