0 votes
in HTML by
What is a self closing tag?

1 Answer

0 votes
by
In HTML5 it is not strictly necessary to close certain HTML tags. The tags that aren’t required to have specific closing tags are called “self closing” tags.

An example of a self closing tag is something like a line break (<br />) or the meta tag (<meta>). This means that the following are both acceptable:

<meta charset="UTF-8">

...

<meta charset="UTF-8" />
...