The src property is assigned the name of the external image file called /images/html.gif. Example of HTML src attribute with script element Find out what is the full meaning of SRC-1 on! src is to used to add that resource to the page, whereas href is used to link to a particular resource from that page. Specifies the browser context in which the form's response should be displayed. Test it Now Relative File Paths. (Read more) SRC PE. Following is the list of attributes for tag for creating text field. Definition and Usage The src attribute specifies the location (URL) of the external resource. While using W3Schools, you agree to have read and accepted our. Example: Let's take an example to see how the file path points to a file in the images folder located at the root of the current web. However, simply removing the