• I want to make a URL that i typed into my blog an active link. I was wondering how i can do this. Currently my page looks like this:

    Lately we’ve been trying to search for people at https://www.google.com

    I want to have https://www.google.com a hyperlink which opens up in a new window. Can anybody help me with this? I’m sure it’s an easy fix. Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You can use <a href="https://www.google.com/">Google</a>. Should work.

    Thread Starter spark12

    (@spark12)

    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="https://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)

    I think for the deprecated tag that would work, Vkaryl meant to post:

    <a href="https://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.

    erwin33

    (@erwin33)

    Can I use also this for making an URL in WP: [url=https://www.forexample.com]For Example[/url]?
    I try that in de WP demo but it don’t work.

    moshu

    (@moshu)

    No, WP is not a bulletin board. Use regular HTML tags as described above.

    erwin33

    (@erwin33)

    These tags are easier to use. I have a weblog on a free portal yet where they are using this tags [url= etc].

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do i make a URL an active link?’ is closed to new replies.