Most meaningful images are going to create insanely long strings (just see the example above), and they actually don’t load as fast as external files. Additionally, when linking to images on your own site, it is almost always best to use relative URLs rather than absolute URLs. It’s weird and kinda neat: You need a special encoding program to turn images or other files into Data URIs. The image must have the alt attribute specified. share | improve this question | follow | asked Dec 11 at 7:00. Question 10. See below for a full list of supported attributes. Each browser supports a slightly different set of image file types. Example: src="/images/img_girl.jpg". However, that doesn’t mean that image file type doesn’t matter. text/javascript, text/ecmascript, text/vbscript etc. Most normal image formats (JPEG, GIF, PNG, BMP, TIFF, SVG) will work in most situations most of the time. Hotlinking to an image hosting service is just fine, and it’s also reasonable to hotlink an image in a casual conversation on a forum or blog comment. There are different attribute tags are used into the Iframes those are as follows: Src: This attribute is used to insert file which need to be included in the frame. The tag is written as (no end tag) with the image URL inserted between the double quotes of the src attribute. Here are some examples of where the alt attribute can … This attribute is used to define a list of image source files, along with sizing information, so that the browser can select the most appropriate option. This attribute is used to define a list of image source files, along with sizing information, so that the browser can select the most appropriate option. The HTML 5