Current location - Quotes Website - Personality signature - How to display gif pictures with html tags
How to display gif pictures with html tags
1, html should use img tag when inserting pictures. Specific usage, first create a new html file, write the basic html structure, and import a picture in gif format:

2. Next, give the img tag a class attribute named img, set the style tag in the head tag, and set the attribute to ". Img "In the style tab, set the length and height of the picture here, and set the alignment mode of the picture to center alignment. Finally, press CRTL+S to save the file:

3. Open the browser, and you can see the contents of the gif picture in the webpage. The above is the way to display gif images with html tags: