HTML code for image file is ____________.
HTML code for image file is <IMG SRC="URL">.
Hypertext markup language is the standard markup language for creating web pages and web applications. With cascading style sheets and javascript, it forms a triad of cornerstone technologies for the World Wide Web.
The <img> tag defines an image in an HTML page. The <img> tag has two required attributes: src and alt. Images are not technically inserted into an HTML page; images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.
The <img> tag is an empty tag, which means that, it can contain only list of attributes and it has no closing tag. The source attribute (src) is what makes an image tag display an image. An image source is a URL value and should point to the directory location of an image file.