Jul 20, 2008

Image Links

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

Image Links

hh89
Ok...another question...may sound stupid, but we're all stupid...how'd I be able to create an image link. Uh...let me rephrase this: If I were to create an "Enter" image and wanted people to click the image to enter to a certain page, how would I do it without some sort of the famous "Blue Line" around it? Any help would be greatly appreciated... unsure.gif

Reply

brandice
simply-

CODE
<a href="URL OF THE LINK"><img src="URL OF PICTURE" border="0"></a>



Reply

hh89
brandice, it works, thanks a lot.

Reply

jlhaslip
There are no stupid questions here on the Forum if the purpose is to learn something new and useful.

Reply

farsiscript
thanks dear jlhaslip and brandice and hh89
HTML is very important and all webmaster must learn html
I have new question about linking
i want to make one div with link , for example user when click at div page link at another page !
is it possible ?

Reply

jlhaslip
Yes.
Using the code from above:
CODE

<a href="URL OF THE LINK"><img src="URL OF PICTURE" border="0"></a>


change the "URL OF THE LINK" to the page which you want to link to.

Example:
CODE

<html>
< ... etcetera ... >
<div>
<a href="http://www.your_account.trap17.com/folder/subfolder/page_ I_want_to_Link_to.html"><img src="URL OF PICTURE" border="0"></a>
</div>
< ... etcetera ... >
</html>


Change : "your_account.trap17" to "your actual subdomain at the trap

Change : "/folder/subfolder/page_ I_want_to_Link_to.html" to the path and file name of the actual file you which to go to.

(remove the quotation marks)

For a page named "test_page.html on my site in the "checking" folder, I would have a link like this:
CODE

<div>
<a href="http://www.jlhaslip.trap17.com/checking/test_page.html"><img src="image.gif" border="0"></a>
</div>


Check out the following link for a good tutorial about 'anchor' or '<a>' tags: http://www.w3schools.com

Hope this helps you.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : image links

  1. Fixed Background Image - Just little reminder (10)
    Easy teahnic, post the following codes between and QUOTE <!--
    body{background-image: url( under.gif ); background-repeat:no-repeat; background-attachment :
    fixed; background-position: 10% 20% ;} --> For red colour, change it to your
    image's location. For green colour, it is used to set horizontal and vertical position of
    background image. I hope it can help you. /tongue.gif' border='0' style='vertical-align:middle'
    alt='tongue.gif' /> ...
  2. Links Help Please - :) (10)
    Okay i have links that work at my house but not at school where i am trying to edit the HTML, the
    site is www.gaming-alliance.net, the links arent set anywhere but it should still send me to a blank
    page if the link i sent it to does not exist. Could someone please check it out and see if its
    working on a different computer? because it works on mine at home heres the code... Gaming
    Alliance | Next Generation Of Gamers Today Thanks....
  3. Xhtml Strict Links Tip - A problem might accure (5)
  4. Help With Background Image - please? :) (6)
    Ok heres the scoop, i got a background that i made in paint for my website its just like 3 lines for
    the nav bar, banner and other things ect. ect. now when i hosted it on a site and put in the This
    is what it looks like in paint http://img.photobucket.com/albums/v614/Dj1.../background.jpg and
    this is what it looks like when i put it into HTML
    http://img.photobucket.com/albums/v614/Dj169211/Damn.jpg i dont want it tiled like that so is
    there any way that i can change that? any ideas? :| Thanks in advance /smile.gif"
    style="vertical-align:middle" emoid=":)" borde...
  5. Background Image Picture On A Website - how do u make a pic a backround?? (3)
    ?email me if u know! Trap17 forum asks you to post contributes with substance. ...
  6. Typing Over Image - (7)
    Is it possible to have a linked font over an image (not being a background image)? If so, how do I
    accomplish that?...
  7. Keyboard Shortcut For Links In Html? - (8)
    Is there a way to make use of the keyboard when togging html links? I'm doing a project and it
    would be nice if the user won't be too mouse-dependent. He will have the option of using the
    keyboard as well. I'm thinking if the user does a particular keypress (CTRL + LETTER maybe? )
    the link will be "clicked". This is probably a stupid question but if anyone knows a way it would
    be so fantastic! /cool.gif" style="vertical-align:middle" emoid="B)" border="0"
    alt="cool.gif" /> Thanks....
  8. Getting An Image To Scroll On With Content - (13)
    ok, well i had had people review Hogwartsmagic.net and they said that i should get it to not be one
    huge image as a layout..and i have figured most of it out and it has proven sucessful! but now i
    am having diffuclty, i am pretty much only a basicl HTML kinda person... and i was wondering if
    anyone knows an html code that will allow one image to scroll the entire length of a pages content?
    for example, if i were to add 200 links to the right navigation..the image would go with the
    content.. i am testing it out here HERE any help would be much appreciated...
  9. Image Roll Over Drop Down Menu Help - (2)
    Ok I been searching for days now on a half way descent tutorial on how to do a Image Roll Over Drop
    Down Menu in CSS without the use of javascript, I been seeing alot of the suckerfish set up but of
    course no one goes in to detail on how to set up the image rollover version of it. Plus I don't
    want the dhtml or the javascript setup just good ole pure css. Also I need ot be able to control
    multiple menus in one script as well. CODE <!DOCTYPE html PUBLIC "-//W3C//DTD
    XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict...
  10. Need Help With Image Wrapping - (13)
    ok my problem now is that i need it to auto width the image that needs to be use so then I can use
    tags for the content without the need for the image to expand from left to right. heres the css for
    the image wrap CODE <style type="text/css"> span {     background-image:
    url(images/gfxtrap_42.gif);     background-repeat: repeat-y;
        background-position: top left, bottom right;     height: 200px;     border: 0px; }
    </style> heres the rest of the website code. CODE <!DOCTYPE html PUBLIC
    "...
  11. Ie5 Mac Does Not See My Site - It shows the body bg image only... (11)
    Remember that site layout I was hacking down for IE? Which by the way I didnt really like, but it
    was the customer's design... and yes, he is not a graphic designer hehe... Anyway I was really
    surprised that I got to the solution and fixed it... but as I'm testing between browsers, I come
    to see that Internet Explorer in Mac does not show nothing of my page, yet the source code is there,
    if you click command + e in order to see the html source code, its all there! But all I can see
    from the page itself is the body background-image... I tried removing the d...
  12. Usemap And Table Background Image Changing - (5)
    I have a menu page that consists of links to other pages. The page has a background image of a
    globe. The globe is divided into seperate sections for each menu item. As a user hovers over each
    section I change the background image(The same globe with that section highlighted.) That is what I
    have so far except that they have to hover over a small anchor tag that I put in not the whole
    section. I want to change it so that they can actually hover over all of the section they are
    selecting. I found usemap online but haven't found any examples where it will actually ch...
  13. Dynamic Links - (3)
    his may be a CSS question, but it's the XHTML not validating that's giving me a problem.
    I'm working with the most out-dated shopping cart software (Click Cart Pro) ever and I'm
    trying to get it to validate XHTML 1.0 Transitional. All the XHTML I've supplied is good and
    validates fine, but where I'm falling short at the moment is with the linking. ClickCart Pro -
    by default - spits out HTML from 1996, and the links are supplied with ampersands - not the XHTML
    character entity "&". Par l'exemple: Code: CODE <a href="http:...
  14. Image Doesn't Load - (6)
    Hi, Never hapened to me since HTML was invented. I've got a webpage ( h.shtml - I've also
    tryed .htm, .html ) with the following code: Code: CODE <html> <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta
    name="ProgId" content="FrontPage.Editor.Document"> <meta
    http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Horoscope</title> </head> <body> <div
    align="center">  <cente...
  15. Image.index.html - (10)
    hello there well i designed this image that includes text a logo i shall say i am aware that i need
    to title it index.html when i upload the file i visit my website and it shows the file folder. now i
    only want that image i designed on there so when clients visit my site it only goes to that page the
    rest of my site isent done yet. i want it to be just like the sites you visit and it states
    underconstruction. programs ive tried: indesign, image ready, incopy cs2, dreamweaver. and i
    still dont understand please help meeh thanks oh and what classify's images html,...
  16. Trouble With Links On A List - i want to display it inline (7)
    I have a menu that i want to display inline, in the same row, something like this: CODE
    <style type="text/css">
    ul{float:left;width:100%;padding:0;margin:0;}
    a{float:left;text-decoration:none;color:white;background-color:red; padding:5px
    10px;} a:hover {background-color:blue} li {display:inline} </style> The
    only problem is that i want a custom img for showing as CODE list-style:
    url(img/bullet.gif) But seems that display:inline makes my bullet go away... could s...
  17. Update Navigation Links? - (2)
    One of the requirements for the site Im working on right now is to be able to update navigation
    links easily. Its easy to do with frames, which I want to avoid. If I have 8 different pages, and
    add another page or anything, I dont want to have to open 8 pages and make the change to all of
    them. Is there another way, like having some kind of external style sheet, and bieng able to update
    that and have it carry over to all the other pages? As far as I understand, you can only have CSS
    code in a external stylesheet, and all the link infomation is in the actual page itself....
  18. Dropdown Menus Links - IDK how to make them link (3)
    Ok its a big problem to me, i need to make my drop down menus options link to a web page. I know i
    can do it with a button, and i can get that to work but i need/want to have it link as soon as the
    option is selected........How do i do that?...
  19. Substitute Form Button For An Image - homemade images in forms buttons (3)
    Hi, I have the next formular : CODE  <form method='post'
    action='index.php?mode=2&id=1'>                <input type='hidden'
    name='name' value='Canon Digital Ixus 700'/>                <input
    type='hidden' name='id' value='1'/>                <input
    type='hidden' name='qty' value='1'>                <input
    type='hidden' name='cost' value='40'>                <input
    type='submit' value='Add to ca...
  20. Need To Learn Xml Quick - links or info on xml (8)
    I need to learn xml and would like links or anything on the subject. I've looked at some code
    and i still don't see the point to it at all. round ...
  21. Simple Smil Question About Image Positioning - (3)
    Howdy all, I'm working on a project for college but ran into a "little" problem with SMIL,
    concerning positioning images. You can see the smil presentation here:
    http://www.ket.trap17.com/smil-show/index.html (its only a 15 second presentation and doesn't
    take long to load. don't mind the language on the left image, its portuguese) What i want to
    do, is to make the image on the right, to fade in in the same place as the left image. I tried
    setting a region but that didn't work, I tried using the layout tags in the but that also
    didn't work (o...
  22. Frames And Links - (3)
    I don't often use frames and I am having a problem linking from page to page. I am using php.
    I have a link with goes: result 1 In results.php I create my frames and use 'if' queries
    to select a frameset depending on the variable passed in the link, so it goes: if ($_GET ) {
    else ...and so on. My problem is this - when I use target="result1", a new window opens and loads
    the page the way I want it, but I don't want a new window to open. If i put target="_self",
    then the page loads in the same window, but the page 'results.php' ap...



Looking for image, links

Searching Video's for image, links
advertisement



Image Links



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE