Interview Question

What is the <br> tag?

`<br>` should be used for its proper HTML purpose.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<br>` is an element that creates a single line break. • Use it for meaningful line breaks, not for making large spaces. • Browsers apply the native parsing and behavior defined for this element. • Using its native meaning helps assistive technology understand the content when the element has accessibility semantics.

💡 Simple Example

<p>First line&lt;br&gt;Second line</p>

⚡ Quick Revision

`<br>` should be used for its proper HTML purpose.