Self-Closing Tags
01
Getting Started
Key Concept
What are Self-Closing Tags?
- In code, most tags come in pairs like a start and an end.
- Self-closing tags are shortcuts for elements with no content inside.
- They combine the start and end into one single tag.
- This makes your code look much neater and shorter.
1 / 7
