Quizzr Logo
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

We use cookies

Necessary cookies keep the site working. Analytics and ads help us improve and fund Quizzr. You can manage your preferences.