Interview Question

What is inline HTML?

Inline elements flow inside surrounding text.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Inline HTML usually means an element that stays within a line of text. • Inline elements do not normally begin a new line. • Examples include `<span>`, `<a>`, `<strong>`, and `<em>`. • Their width usually follows their content.

💡 Simple Example

<p>Hello <strong>friend</strong>!</p>

⚡ Quick Revision

Inline elements flow inside surrounding text.