Wednesday, November 24, 2010

How do you change a link to a website to the text you want?

I've seen at places where people put in a link but the text reads something different from the actual URL, how is this done?How do you change a link to a website to the text you want?Standard links:



Making an image a link:



%26lt;p%26gt;%26lt;a href=%26quot;URL path to external link%26quot; title=%26quot;Mouseover Description%26quot;%26gt;%26lt;img style=%26quot;width: XXpx; height: YYpx; border: 0;%26quot; src=%26quot;Path to image%26quot; alt=%26quot;Text Description%26quot;%26gt;%26lt;/a%26gt;%26lt;/p%26gt;



Text Link only:



%26lt;p%26gt;%26lt;a href=%26quot;URL path to external link%26quot; title=%26quot;Mouseover Description%26quot;%26gt;Link Text Description%26lt;/a%26gt;%26lt;/p%26gt;



You can change the %26quot;p%26quot; tags to div tags and style as needed to make a nice div container for links.



RonHow do you change a link to a website to the text you want?You mean via code? Like this..



%26lt;a href=%26quot;http://www.yahoo.com%26quot;%26gt;YAHOO%26lt;/a%26gt;



http://www.w3schools.com/HTML/html_links



Larry Dougherty

HostMySite.com Server EngineerHow do you change a link to a website to the text you want?%26lt;a href=%26quot;http://www.yahoo.com%26quot;%26gt;I like cookies%26lt;/a%26gt;



-Billy



It's done in HTML.How do you change a link to a website to the text you want?http://www.echoecho.com/htmllinks01.htm