The main purpose of having Wikitext in wikis instead of HTML is because HTML is more complicated and not many people know how to use it. Therefore, it is easier to use Wikitext rather than HTML and thus makes editors contributing to a wiki easier to create content.