The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HTML link problem

+3
Darren1
tcwsl
Bryce247
7 posters

Go down

Solved HTML link problem

Post by Bryce247 May 8th 2009, 10:23 pm

how to make a html code for when you click on the picture the link does not pop out :wouhou: Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral Neutral


Last edited by Bryce247 on May 9th 2009, 4:31 pm; edited 2 times in total (Reason for editing : Removed bold & reduced size.)
Bryce247
Bryce247
Forumember

Male Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: HTML link problem

Post by tcwsl May 9th 2009, 1:20 am

this may help you

http://www.w3schools.com/tags/tag_IMG.asp

try and see if you get it Hello
avatar
tcwsl
Forumember

Male Posts : 149
Reputation : 10
Language : Chinese, English

http://lastforumonearth.the-talk.net/

Back to top Go down

Solved Re: HTML link problem

Post by Darren1 May 9th 2009, 1:35 am

Hello,

when you paste a link from an upload place (such as photobucket) you will usually see

Code:
[url=http://www.servimg.com/image_preview.php?i=555&u=12845456][img]http://i64.servimg.com/u/f64/12/84/54/56/scanli10.png[/img][/url]

Remove the URL part so it becomes

Code:
[img]http://i64.servimg.com/u/f64/12/84/54/56/scanli10.png[/img]

so you only have the little bit inside the [img] tags



I hope this has helped,
Darren.
Darren1
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

Solved Re: HTML link problem

Post by Rok May 9th 2009, 1:57 am

You asked for the HTML link code, right?

Use this code if you want to have a piece of text, when clicked on, to direct you to a certain site :
Code:
<a href="LINK TO DIRECT" target="_blank">TEXT HERE</a>
Example- ForuMotion Forum Support

Use this code if you want an image, when clicked on, to direct you to a certain site :
Code:
<a href="LINK TO DIRECT" target="_blank"><img src="IMAGE LINK HERE" alt=""></a>
Example- HTML link problem Logo
Quoted from my HTML tutorial.
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: HTML link problem

Post by ankillien May 9th 2009, 4:02 am

^^ He is asking code that "the link does not pop out"

here is the code...
Code:
<a href="LINK URL" target="_self"><img src="IMAGE URL"></a>
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Solved Re: HTML link problem

Post by Rok May 9th 2009, 4:13 am

Oh, I didn't get a chance to catch that; sorry.
You could also just get rid of target=""> by using this code :
Code:
<a href="LINK TO DIRECT"><img src="LINK OF IMAGE"></a>
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: HTML link problem

Post by Sanket May 9th 2009, 3:46 pm

Bryce247, Bold and Color are reserved for moderation, like this, so please keep to the default font
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: HTML link problem

Post by Nessa May 11th 2009, 4:12 am

Since this problem appears to be resolved, I will lock this topic now.


=> Locked
Nessa
Nessa
Energetic

Female Posts : 6203
Reputation : 128
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum