Wednesday, September 14, 2011

How do you change what a link says?

I've seen people make a link say something. Uhh, like normally you have the URL that you'd click on, but it'll say %26quot;Click Me%26quot; or something like that instead?



Does anyone know how to do that?

Thanks in advance =)How do you change what a link says?oh yeah...



%26lt;a href=%26quot;YOUR-URL%26quot;%26gt;Click Here%26lt;/a%26gt;



the click here is what ever you want to put in it...like click me or somethingHow do you change what a link says?Thought you wanted a CORRECT answer!



Ron

Report Abuse

How do you change what a link says?%26lt;A href=%26quot;XXXX%26quot;%26gt;Change this text here to say what you want%26lt;/a%26gt;



where XXXX is the address of what you are linking toHow do you change what a link says?The href Attribute



The href attribute defines the link %26quot;address%26quot;.



This %26lt;a%26gt; element defines a link to W3Schools:



%26lt;a href=%26quot;http://www.w3schools.com/%26quot;%26gt;Visit W3Schools!%26lt;/a%26gt;



The code above will display like this in a browser:



Visit W3Schools!How do you change what a link says?%26lt;a href=%26quot;http://www.YourURL.com/%26quot;%26gt;Your Text%26lt;/a%26gt;How do you change what a link says?A hyperlink is defined by the %26lt;a href=%26quot;www.yourlink.here%26quot;%26gt; Cookies %26lt;/a%26gt; tag. The link will appear as whatever is between the tags where I've typed %26quot;Cookies%26quot;.



Most things automatically fill in between the two tags with what you typed in for the URL.



Again:

%26lt;a href=%26quot;wheretheyactuallygo.com%26quot;%26gt; what they see %26lt;/a%26gt;



the %26lt;/a%26gt; just tells the browser that you're done with the link and to go back to regular text again.How do you change what a link says?%26lt;a href = %26quot;http://answers.yahoo.com%26quot;%26gt;Click To Visit Yahoo Answers%26lt;/a%26gt;



That's how its done.How do you change what a link says?If you want it properly coded and to have a nice little popup tooltip on mouseover of the link, use this:



%26lt;p%26gt;%26lt;a href=%26quot;Your link path here%26quot; title=%26quot;Mouseover Description Here%26quot;%26gt;Link's Text Description Here%26lt;/a%26gt;%26lt;/p%26gt;



Change %26lt;p%26gt; tags to any block level tag like div tags and style as you like for positioning, background color, etc..



Ron