Advertisement
Yakui

IMG SRC Linking

Dec 31st, 2015
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. This is the code I have for the patreon banner on my journal:
  2.  
  3. <a href="https://www.patreon.com/MentalCrash"><img src="http://i.imgur.com/cIRLaU8.png" title="Patreon.com"></a>
  4.  
  5. If you just want to make a custom link, you type it like this:
  6.  
  7. <a href="URL YOU'LL GO TO BY CLICKING THIS">TEXT GOES HERE</a>
  8.  
  9. If you wanna add a picture you need to replace the TEXT GOES HERE bit with this code:
  10.  
  11. <img src="PICTURE URL">
  12.  
  13. Which would make the code look like this:
  14.  
  15. <a href="URL YOU'LL GO TO BY CLICKING THIS"><img src="PICTURE URL"></a>
  16.  
  17. Also, something you might have noticed if you hover the mouse over the banners they display a lil' text, this done with this bit of code:
  18.  
  19. title="TEXT YOU WANT TO SHOW WHEN YOU HOVER THE MOUSE OVER THE PICTURE"
  20.  
  21. And it goes right after the img src url, so it'd look like this:
  22.  
  23. <a href="URL YOU'LL GO TO BY CLICKING THIS"><img src="PICTURE URL" title="TEXT YOU WANT TO SHOW WHEN YOU HOVER THE MOUSE OVER THE PICTURE"></a>
  24.  
  25. If something looks wrong when you've done it just make sure you've gotten all the " and <> placed correctly, and also that there are several spaces in between. I use the <a href=""> code all the time, not all pages of deviantart have the easy making linking thing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement