Tricks For HTML/CSS

Super new to coding. Is there a trick to knowing when an element is self closing or not? Thank you in advance for your time.

No, no trick to it, just have to remember. Fortunately, there aren’t too many of them. Technically, they are known as void elements. and you will probably only use a small subset of them most of the time, so it won’t be too hard to memorize them.

Thanks…appreciate it