An absolute URL path. An absolute URL path is useful if you are referencing resources in another location, such as an external Web site.
<img src="http://www.contoso.com/MyApplication/Images/SampleImage.jpg" />
A site-root relative path, which is resolved against the site root (not the application root). Site-root relative paths are useful if you keep cross-application resources, such as images or client script files, in a folder that is located under the Web site root.
This example path assumes that an Images folder is located under the Web site root.
<img src="/Images/SampleImage.jpg" />
If your Web site is http://www.contoso.com, the path would resolve to the following.
http://www.contoso.com/Images/SampleImage.jpg
A relative path that is resolved against the current page path.
<img src="Images/SampleImage.jpg" />
A relative path that is resolved as a peer of the current page path.
<img src="../Images/SampleImage.jpg" />
Hiç yorum yok:
Yorum Gönder