HTML code integration in JS files and HTML tags not closing automatically[new]

Hi! Sorry for posting both, but as you don’t allow new users to post more than one screenshot, I got confused, I posted a wrong screenshot and then I didn’t find any option to edit the topic in order to fix it.

As the title suggests, I’ve noticed that HTML code is not well integrated in JS files because it doesn’t tell me when a HTML tag starts and ends compared to a HTML file:

I’m using HTML code in JS files because I’m coding in a JS framework which is called React and uses JSX syntax (JS + HTML)

Also, I’ve noticed when I write any HTML tag such as

,

, etc, these doesn’t write its closing tag automatically which happens to other code editors.

Is there any way to fix these issues? I’m liking Atom, but these both issues are a big disadvantage for me.

Wow… Sorry, I don’t know what’s happening today. I meant to write:
Also, I’ve noticed when I write any HTML tag such as <h1>, <h2>, etc, these doesn’t write its closing tag automatically which happens to other code editors. I forgot to put them in a Preformatted text. If any staff member could fix my main topic with this, it would be great.