Related DOM Property

HTML src Attribute

The <img> src attribute is used to specify the URL of the source image. It points to the location of the image file that the browser should display on the webpage.

Similar Reads

Syntax:

...

Attribute Values:

It contains a single-value URL that specifies the link to the source image. There are two types of URL links which are listed below:...

Related DOM Property:

Related DOM Property:...

Supported Browsers:

HTML DOM Image src Property...