'Why is it that when I enter `{{ something }}`, it also gets displayed in `HTML`?

I tried entering this code in my HTML:

<div>
  <input type="file" name="{{ form.forum_image }}" accept="image/*">
</div>

And this produces a site with the usual input file but after that is the text " accept="image/*"></div> What should I do with this so that it doesn't desplay the text? Image of the issue: picture.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source