-
Which of the following is not an empty element?
-
- <br/>
- <hr/>
- Both <hr/> and <br/>
- <p/>
- None of these
Correct Option: D
An element is said to be empty if it doesn’t contain any content in it. The <hr/> and <br/> tag which is used for a horizontal line and line break respectively, doen’t contains any content in it and thus are called empty elements in HTML. <p> tag contains text/paragraph in it so it’s not an empty element.