How to add gifs to an html page?

I know how to add images but what about gifs?

A little help, @Grasshopper_Ben :slight_smile:

title.textContent = 'Add image';
document.body.appendChild(title);
title.style.cssText = `
position: relative;
text-align: center;
color: #73ff73`;

let image = document.createElement('img');
image.src = 'https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTxJv5iLRCpzEHL7Hal3-LvuyuNAY50d7Ru6A&usqp=CAU';
document.body.appendChild(image);
image.style.cssText = `
position: relative;
right: -10px
`;