Interview Question

What is a container tag?

A container tag wraps content between opening and closing tags.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

A container tag has an opening tag, content, and a closing tag. • It wraps content like a box. • The opening tag starts the element. • The closing tag uses a slash.

💡 Simple Example

<p>This text is inside a paragraph.</p>

⚡ Quick Revision

A container tag wraps content between opening and closing tags.