Raw HTML would cause many security exploits (in posts). Only a very tightly whitelisted subset of tags and elements are allowed.
In general you should not be using HTML, use Markdown, per commonmark.org/help
Now for Admin, Customize areas where HTML is allowed as part of site setup and customization, admins can indeed put in whatever HTML they want.