The idea is that there are other extension points for your use case (such as custom attributes in other namespaces (in XHTML), RDFa, Microdata, Meta tags, whatnot).. Example of HTML src attribute with frame element View this example in a separate browser window The src attribute can be used on the following elements: An HTML form with an image that represents the submit button: An audio player with two source files. Possible Duplicate: Difference between SRC and HREF. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. Identified the image or provided additional information about it. URI. Example: src="https://www.w3schools.com/images/img_girl.jpg". Looking for the definition of SRC? Supported elements . An image source is a URL value and should point to the directory location of an image file.

w3resource logo

The src attribute is used to specify the URL of the source image. . View this example in a separate browser window The img’s src stands for source, […] W3 Watch Reference. The src attribute instructs the browser where on the server it should look for the image that’s to be presented to the user. It is often saved in simple text file format and viewable in a text editor. The source element is used as a child element of the