Home » HTML » HTML Basic » Question
  1. Which of the following is not an empty element?
    1. <br/>
    2. <hr/>
    3. Both <hr/> and <br/>
    4. <p/>
    5. 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.



Your comments will be displayed only after manual approval.