I'm trying to center gif, here is the markdown code:

The code above align my gif in the left (See below image):
So, I tried to put the markdown inside <p>
tag like this but it does not work:
<p align="center">

</p>
My question: I want to center .gif in Github README horizontally, is there a way to do it? Example of what I want:
Solution:
Instead of using markdown, I used <img>
tag. Here is my code:
<p align="center">
<img src="demo.gif" alt="animated" />
</p>