title: django templates displaying the html tags as it is
body: <p>below is the index.html file inside my workspace/projectname/templates/appname</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
      &lt;head&gt;
          &lt;title&gt;my news&lt;/title&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;h1&gt;look below for news&lt;/h1&gt;
          {%if categories%}
              &lt;ul&gt;
                  {%for category in categories%}
                      &lt;li&gt;{{category.name}}&lt;/li&gt;
  
                  {%endfor%}
              &lt;/ul&gt;
  
          {%endif%}
  
          {%if headings%}
  
              &lt;p&gt;
                  {%for heading in headings%}
  
                      &lt;a href="#"&gt;{{heading.title}}&lt;/a&gt;
                      &lt;br&gt;
                      {{heading.content}}
  
                  {%endfor%}
              &lt;/p&gt;
  
          {%endif%}
      &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>the problem is <code>&lt;ul&gt;</code> and <code>&lt;li&gt;</code> tags are working and displaying the list as it should do.the <code>&lt;a&gt;</code> tag is also displaying a hyperlink,but the <code>&lt;p&gt;</code> tag and <code>&lt;br&gt;</code> tags are not being rendered and are being displayed as a text,cant think what might be the problem.i am fairly new to django.
  <a href="https://i.stack.imgur.com/aYTVj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aYTVj.png" alt="index.html"></a></p>