/    Sign up×
Community /Pin to ProfileBookmark

Why doesn´t link open?

<a href=”/versions/english/intro/lks.html”><img src=”http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif” alt=”english” class=”english”></a>

to post a comment
HTML

15 Comments(s)

Copy linkTweet thisAlerts:
@hyperionXSFeb 23.2012 — If you whould give us more detial, maybe we might help you.
Copy linkTweet thisAlerts:
@NoEffinWayFeb 23.2012 — If you whould give us more detial, maybe we might help you.[/QUOTE]

Like:

Does anything happen? (error/page doesnt change/new window)

If there is an error, what is it?
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — <a href="C:Documents and SettingsUserwebsite1lks.html"><img src="http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif" alt="english" class="english"></a>

</div>/

Why doesn&#180;t this f.... link open?
Copy linkTweet thisAlerts:
@CharlesFeb 23.2012 — I doesn't work for me because I have no file C:Documents and SettingsUserwebsite1lks.html . I couldn't say why it doesn't work for you.
Copy linkTweet thisAlerts:
@spufiFeb 23.2012 — <a href="C:Documents and SettingsUserwebsite1lks.html"><img src="http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif" alt="english" class="english"></a>

</div>/

Why doesn´t this f.... link open?[/QUOTE]


You also shouldn't make a link that includes your C drive. As soon as you upload the file to your host, that link becomes invalid. The first link you posted should work as long as you have a file in pathway provided. IE, you should be able to find a folder named versions within the same folder that the file you are currently viewing is in.
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — That´s the problem! I have folders: versions > english > intro in which the file lks.html is stored!
Copy linkTweet thisAlerts:
@NoEffinWayFeb 23.2012 — That´s the problem! I have folders: versions > english > intro in which the file lks.html is stored![/QUOTE]
Do you have a local web host set up?
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — No
Copy linkTweet thisAlerts:
@NoEffinWayFeb 23.2012 — You need one to proper test your site. I recommend using XAMPP, you can find the download link on this page: http://www.apachefriends.org/en/xampp-windows.html#641

(Direct: http://www.apachefriends.org/download.php?xampp-win32-1.7.7-VC9-installer.exe)

If you need help setting it up, let me know.
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — Why do I need a web server for just an ordinary link?
Copy linkTweet thisAlerts:
@NoEffinWayFeb 23.2012 — Technically you dont but it makes things better.

Change:
[CODE]<a href="C:Documents and SettingsUserwebsite1lks.html">[/CODE]
To:
[CODE]<a href="lks.html">[/CODE]
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — I did that but it didn&#180;t open!

nor did: <a href="versionsenglishintrolks.html"><img src="http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif" alt="english" class="english"></a>

So I still have the problem!
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — For a link I don&#180;t have to be on line? Do I? So, still this problem with a link!
Copy linkTweet thisAlerts:
@asaauthorFeb 23.2012 — I finally managed (on-line?)
Copy linkTweet thisAlerts:
@spufiFeb 23.2012 — You need one to proper test your site. I recommend using XAMPP, you can find the download link on this page: http://www.apachefriends.org/en/xampp-windows.html#641

(Direct: http://www.apachefriends.org/download.php?xampp-win32-1.7.7-VC9-installer.exe)

If you need help setting it up, let me know.[/QUOTE]


You will need to do this eventually as you will need a server and databsae for things like PHP and MySQL.

Why do I need a web server for just an ordinary link?[/QUOTE]

You don't.

Formatting for a link should be using forward slashes, ie "/". Notice the url for this site is http://www.webdeveloper.com/forum/

<i>
</i>&lt;a href="/versions/englishintro/lks.html"&gt;
&lt;img src="http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif" alt="english" class="english"&gt;
&lt;/a&gt;


If that doesn't work, remove the forward slash behind the word versions. If neither work, then odds are the file isn't were it's suppose to be.
×

Success!

Help @asa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...