You can use <a href="http://www.google.com/">Google</a>
. Should work.
That works, but it opens it in the same window. How do i open it in a new window? thanks.
You can use the deprecated target tag (this will NOT validate for xhtml!): <a href="http://www.google.com/">Google</a>
.
Or you can use one of the onclick strategies (I don’t actually know how they are written in the xhtml – someone else here probably does), which I believe will validate.
[oops. forgot to escape the code. sorry]
Moderator
James Huff
(@macmanx)
Volunteer Moderator
I think for the deprecated tag that would work, Vkaryl meant to post:
<a href="http://www.google.com/" target="_blank">Google</a>
I did macmanx, wonder why it didn’t show after I escaped it? Oh well – thanks for the catch!
I’ve been able to create a link in my blog, but how do I color the text, or underline it, to make it appear as a link? Yikes!
Find the relevant css element for the area in which you want to place a link (the lists in the sidebar etc. – as well there’s usually an overall a:active, a:hover etc. section in the css), and add into the declaration section text-decoration: underline;
.
For changing the color of a link you’ll have to change the color: #000000;
or whatever it is in the link element css to whatever color you want to use.
Can I use also this for making an URL in WP: [url=http://www.forexample.com]For Example[/url]?
I try that in de WP demo but it don’t work.
No, WP is not a bulletin board. Use regular HTML tags as described above.
These tags are easier to use. I have a weblog on a free portal yet where they are using this tags [url= etc].