You are here: Re: Local file reference « HTML « IT news, forums, messages
Re: Local file reference

Posted by Ken on 12/25/14 11:26

Hi Edward -

On Sat, 10 Sep 2005 17:01:24 -0500, "Edward" <nomail@yahoo.com> wrote:

>I'm creating and testing basic web pages, and learning HTML.
>How do you refer an image source or a link to a local file.jpg for example?
>I've tried <img src="C:\image.jpg" align="center"/> without success. The
>only way my web page will see files when testing is to load them on my
>actual web server.
><img src="http://www.domain.com/image.jpg" align="center" />

src="image.jpg"

If the page is in c:\ the browser will look for c:\image.jpg

If the page is in http://www.example.com/ the browser will look for
http://www.example.com/image.jpg

--
Ken
http://www.ke9nr.net/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация