Author Topic: HTML URL converted to clickable word  (Read 3575 times)

Offline ADSR

  • Super Duper Poster
  • ****
  • Posts: 961
    • View Profile
    • http://
HTML URL converted to clickable word
« on: August 08, 2011, 07:18:56 AM »
Hi,

Don't know nothing about HTML programming ... but is there a simple way to transform an HTML URL ( or normal url)  in  a clickable word to insert on a site?

Thanks

GR

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
HTML URL converted to clickable word
« Reply #1 on: August 08, 2011, 10:27:04 AM »
QUOTE
Don't know nothing about HTML programming
It is so simple, it's probably a misnomer to call it "programming!" laughhard.gif

First, you need access to the actual source, the plain text, html page for the page. Do you maintain that page or site?

The code for a link is extremely simple, as is the rest of html, of course. I'll try to get the code to display properly below. All you need to do is use the 'anchor' tag, you can see how that's done on any web page that has a link by viewing the 'source.' The menu that allows you to do that is usually in the browsers "View" menu, BTW.

It sounds like you already have the actual URL, so all you need to do is surround it with the actor tag as in the following code:
CODE
<a href="http://whetevertheURLmightbe">Whet ever word you might want to have as the visible 'link.'</a>
That's it! If you want, you can use other attributes to change the font, color, size, decoration, etc. of the visible text. By default the text will be purple (I think) and it will have an underline on it.
« Last Edit: August 08, 2011, 10:28:39 AM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline ADSR

  • Super Duper Poster
  • ****
  • Posts: 961
    • View Profile
    • http://
HTML URL converted to clickable word
« Reply #2 on: August 08, 2011, 11:22:59 AM »
Sorry, i'm really no good whith that...

Should it be like that :

<https://picasaweb.google.com/117300029067954871778/27Fevr2011?authuser=0&authkey=Gv1sRgCI7Lw_ros_XwOQ&feat=directlink><ici/a>

Tryed  to paste it on a HTML page but can't see  no word when reverting to normal Thinking.gif


Offline kimmer

  • Administrator
  • TS Addict
  • *****
  • Posts: 9086
    • View Profile
HTML URL converted to clickable word
« Reply #3 on: August 08, 2011, 02:58:45 PM »
QUOTE(ADSR @ Aug 8 2011, 09:22 AM) <{POST_SNAPBACK}>
Sorry, i'm really no good whith that...

Should it be like that :

<https://picasaweb.google.com/117300029067954871778/27Fevr2011?authuser=0&authkey=Gv1sRgCI7Lw_ros_XwOQ&feat=directlink><ici/a>

Tryed  to paste it on a HTML page but can't see  no word when reverting to normal Thinking.gif


Here's the correct code -- copy and paste all of it into your page:
CODE
<a href="https://picasaweb.google.com/117300029067954871778/27Fevr2011?authuser=0&authkey=Gv1sRgCI7Lw_ros_XwOQ&feat=directlink">PUT CLICKABLE WORD HERE</a>


You didn't have the
CODE
a href="
before the "https", plus after "direct link" you need
CODE
">
and not just the >. Also
CODE
<ici/a>
-- not sure what that is. Is ici the clickable word you wish to use? If so it would look like the example below:

CODE
<a href="https://picasaweb.google.com/117300029067954871778/27Fevr2011?authuser=0&authkey=Gv1sRgCI7Lw_ros_XwOQ&feat=directlink">ici</a>



Holler if this does'nt work.

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
HTML URL converted to clickable word
« Reply #4 on: August 08, 2011, 04:21:23 PM »
When you want to add a link to a site you have already visited, simply go to the site/page and copy the whole URL. Paste that anywhere you want (a text editor would be fine). Now, you can go back to your html source and create a dummy anchor code...
CODE
<a href=""></a>
Now, get that saved URL text from where ever you saved it and copy it again to be sure it's in your Clipboard. Open that html page, put the cursor between the quotation marks in that dummy anchor and paste in the URL. You can then also type in the text you want to display on your web page between the "<A href=...>" and the closing tag "</a>"
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline ADSR

  • Super Duper Poster
  • ****
  • Posts: 961
    • View Profile
    • http://
HTML URL converted to clickable word
« Reply #5 on: August 08, 2011, 06:37:25 PM »
Thanks very much for the detailed infos.

I pasted it and now i can see the clickable word... but i may have a problem whith Firefox (3.6.19) clicking on the word  is not active , even here, whith emoticon Show All,  nothing happens. (Tryed also in safe mode)

Clicking the word  whith Safari  is working

What do you suggest to do whith Firefox ? (as i  have it passwords configured and use to it)
 Thinking.gif

 thanx.gif




Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
HTML URL converted to clickable word
« Reply #6 on: August 08, 2011, 08:11:44 PM »
In FF, try refreshing the page and/or clearing its caches. In FF 5, Preferences->Advanced->Network tab->Offline Storage shows how much memory is being used for caches. Click the "Clear Now" button and go back to the page you are trying to see and reload/refresh it.

Oops! I found a "Clear recent history" item in the "Tools" menu! blush-anim-cl.gif

To avoid this problem in the future, check the "Override automatic cache management box and set the Limit cache to 0 (zero). If you have a slow machine or a slow Internet connection, you'll probably not want to do this, however.

In FF 5, Prefs->Privacy->History section->"Firefox will: Use custom settings for history". Uncheck anything you don't want cleared, then check the "Clear history when Firefox closes" Now click the "Settings..." button. Uncheck everything EXCEPT the "Cache" checkbox.
« Last Edit: August 08, 2011, 08:24:33 PM by Xairbusdriver »
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline ADSR

  • Super Duper Poster
  • ****
  • Posts: 961
    • View Profile
    • http://
HTML URL converted to clickable word
« Reply #7 on: August 09, 2011, 05:36:00 AM »
I've made what you have suggested whith Firefox...

When i click on the word , it's surrounded by a square but nothing happens .

(I can see the link at the bottom of the Firefox window.)

Should i re install Firefox?

 Thinking.gif


Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
HTML URL converted to clickable word
« Reply #8 on: August 09, 2011, 08:29:09 AM »
ADSR, could you perhaps post the link to the page where you've put the link so we can look at the code? There may be a little error there that Safari overlooks but Firefox doesn't. If the code is correct, there is absolutely no reason that I can think of that Firefox wouldn't render it properly. And since Firefox is doing everything else correctly (or I assume it is, since you've not mentioned any other issues) it's much more likely that it's a code error than a Firefox problem. Don't reinstall it - it will be a waste of time, methinks. Post the link to the web page here and we'll get our code magnifying glasses out. smile.gif
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
HTML URL converted to clickable word
« Reply #9 on: August 09, 2011, 09:06:46 AM »
What she said. smile.gif inspect.gif

Some browsers are less critical about HTML, some will make assumptions about what the author wanted, some won't. There are some technical points that can also make some browsers operate differently. I'm sure Paddy can find the problem if you'll give us the URL. yes.gif
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes:

Offline ADSR

  • Super Duper Poster
  • ****
  • Posts: 961
    • View Profile
    • http://
HTML URL converted to clickable word
« Reply #10 on: August 09, 2011, 10:41:32 AM »
I think it's a Firefox problem or maybe system problem ... or both ,  whith  the DA , cause i  try whith my wife's Emac , same version of Firefox ,Tiger 10.4.11 and it works ok !!!

(Safari working ok whith that on the DA.)

I remember clicking on the Emoticons Show all , and having  the whole list, actually nothing  going...

Also on some sites the links are not actives obliged to use the mouse/kbd command to get them

What can cause this  link's problem?

 Thinking.gif

PS

Sending this reply , was logged in  but  clicking to Add Reply get  the log in window ????

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
HTML URL converted to clickable word
« Reply #11 on: August 09, 2011, 03:17:59 PM »
Please go to the page and copy the whole URL from the "Location" entry. Then click the "Fast Reply" button and paste that URL in the window. Then click the "Add Reply" below the Fast Reply text box. That way, you won't have the confusing parts of the Full Reply page distracting you. None of those buttons need to be around for just sending the URL of the page that has the problem link(s).
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes: