Zaloguj | Zarejestruj | FAQ
Anonymous

Images

+ Odpowiedz

Posty: 2 Strona 1 z 1


Images

przez drawnayr » So lut 01, 2014 10:51 pm

Hi, I can't seem to get an image to load properly. Only once have I succeeded (after following the tutorial and using the logo.png). I've tried probably 50+ times and looked at every possible permutation I can think of. Can I not see the wood for the trees?

Here is the code as presented in the tutorial:

<img src="logo.png" alt="Logo" />

I've had the image in the same folder as my html file, tried it in different folders together and entered every possible version of the pathway I could find.

I'm using OS Mavericks, despite HTMLs universality I might be unaware of something. I can't progress further without solving this rather basic problem.

Any help is appreciated.

Ry
Avatar użytkownika

drawnayr

  • Posty: 1
  • Dołączył(a): So lut 01, 2014 10:40 pm

Re: Images

przez XainPro » Śr lut 05, 2014 2:31 am

your code is correct can you tell me what output you get in browser when you run this code ?
on what browser you open it ?
is the logo.png file is also located in the same folder of html file ?
have you tried compelete code like

<html>
<head>
<title><Image example test</title>
</head>
<body>
<img src="logo.png" alt="logo">
</body>
</html>
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm


+ Odpowiedz

Strona 1 z 1

cron