मराठी

Which of the following elements have both the opening and the closing tags in HTML?

Advertisements

प्रश्न

Which of the following elements have both the opening and the closing tags in HTML?

पर्याय

  • <br>

  • <h1> 

  • <hr>

  • <img>

MCQ
Advertisements

उत्तर

<h1> 

Explanation:

The <h1> tag is a container element in HTML, meaning it requires both an opening (<h1>) and a closing (</h1>) tag, unlike self-closing tags like <br>, <hr>, and <img>.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (March) Set 4
Advertisements
Share
Notifications



      Forgot password?
Use app×