1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

what this the code to label a website?

Discussion in 'Blogging' started by Devilfish1688, Sep 25, 2014.

  1. Devilfish1688

    Devilfish1688 Power Member

    Joined:
    Sep 30, 2013
    Messages:
    760
    Likes Received:
    38
    Home Page:
    for an example www.google.com

    i want to put google when people click on this name will go to www.google.com.

    instead I copy and past the whole url on the page


    I wonder which one is better ?

    or it does not matter ?
     
  2. blacat

    blacat Regular Member

    Joined:
    Dec 8, 2009
    Messages:
    457
    Likes Received:
    147
    Location:
    DownWorld
    Code:
    <a href="http://www.google.com">THE TEXT YOU WANT</a>
     
  3. Devilfish1688

    Devilfish1688 Power Member

    Joined:
    Sep 30, 2013
    Messages:
    760
    Likes Received:
    38
    Home Page:
    thanks and what the code to make it bold?

    and open it in another new window?
     
  4. QueenOfHearts

    QueenOfHearts Registered Member

    Joined:
    Jul 31, 2014
    Messages:
    94
    Likes Received:
    77
    Code:
    <strong><a href="http://www.google.com" target="_blank">THE TEXT YOU WANT</a></strong>
    I strongly suggest you check out http://www.w3schools.com/
     
  5. QueenOfHearts

    QueenOfHearts Registered Member

    Joined:
    Jul 31, 2014
    Messages:
    94
    Likes Received:
    77
    Even more strongly I'd suggest you to learn how to use Google.
     
    • Thanks Thanks x 2
  6. mahamad3

    mahamad3 Regular Member

    Joined:
    Apr 26, 2012
    Messages:
    313
    Likes Received:
    26
    Location:
    Cairo
    <a href="http://www.website.com">Text</a>
     
  7. uiuxdesigner

    uiuxdesigner Newbie

    Joined:
    Sep 15, 2014
    Messages:
    46
    Likes Received:
    11
    Location:
    Nashik
    Home Page:
    confirm that target should be blank, so website will open on new window
    <strong><a href="http://www.google.com" target="_blank">THE TEXT YOU WANT</a></strong>
     
  8. thehtmldev

    thehtmldev Newbie

    Joined:
    Sep 26, 2014
    Messages:
    3
    Likes Received:
    0
    Occupation:
    Student, Freelancer
    Location:
    Chicago
    Home Page:
    <a href="URL"> YOUR TEXT HERE </a>

    For making it bold use the <strong> tag.

    If making it even bold, use the font-weight CSS.