There are specifically 3 kinds of tags in HTML. Each standard tag is documented as of which type it should be (I say should because most browsers allow for tags with the wrong type).
Void tags: Are composed only by the start tag, with no closing. <x>
Examples:
<br>
<hr>
Self-closing tags: Are start tags with the closing portion at the end. <x />
Examples:
<script />
<style />
<img />
Closing tags: Are the common start-content-end tags. <x> ... </x>
Examples:
<div> ... </div>
<a> ... </a>
<em> ... </em>
If you want maximum theoretical vaildity on your HTML, this is super important, but in practice, most browsers treat a closing tag with no content as equivalent to self-closing and void tags. This means that albeit invalid, things like this will work:
<img src="a.png"></img>
<br />
BUT!
You should never do this:
<div> blablabla
Closing tags must have a corresponding close otherwise you can mess up the markup pretty heavily.
If you stick to the standard, there will be no surprises.