Self-closing tags, like <img />, are often used in HTML, but they are not an actual part of HTML rules. HTML is not XML, so not all tags need to be opened or closed the same way.