1.

Images and GIFs

Answer»

Images can also be added in markdown using methods similar to what we used for adding links.


  • Inline Style:

    • Inline Images are used to link images directly onto the current page to be displayed.

    • Syntax:


![alt text](https://d3n0h9tb65y8q.cloudfront.net/public_assets/assets/000/002/559/original/Inline_Style.png?1642758105)

Output:


  • Reference Style:

    • The reference style of image insertion is used to link an image to the current page, similar to a reference link.

    • Syntax:


![alt text][image]
[image]: https://d3n0h9tb65y8q.cloudfront.net/public_assets/assets/000/002/561/original/Reference_Style.png?1642758170

Output:


  • HTML <img> Style:

    • The HTML <img> tag can also be used to add images in Markdown.

    • Syntax:


<img src="https://d3n0h9tb65y8q.cloudfront.net/public_assets/assets/000/002/562/original/HTML_img_Style.png?1642758221" width="200" height="200" border="10"/>

Output:


  • Adding GIFs:

    • GIFs can also be added using Markdown similar to the way we add images in markdown using the HTML <img> tag.

    • Syntax:


<img src="https://d3n0h9tb65y8q.cloudfront.net/public_assets/assets/000/002/564/original/GIF.gif?1642758263" />

Output:




Discussion

No Comment Found