How to put spaces in a url?

Discussion in 'HTML & Website Design' started by stephen421, Apr 18, 2009.

  1. #1
    I am trying to setup a link on my site that allows users to click on it and be directed to their twitter account and that puts text in their status box. For example, if you play a youtube video and click the twitter button below it. However, I cant figure out how to put spaces between the text and have them show up as spaces. I tried putting "%20" between words but the %20 just showed up in the status box. I also tried " " a space between the words and it still shows up %20. Can someone please help me.
     
    stephen421, Apr 18, 2009 IP
  2. redstar504

    redstar504 Peon

    Messages:
    70
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use plus symbols in between spaces (as in +)
     
    redstar504, Apr 18, 2009 IP
    alphamonk likes this.
  3. stephen421

    stephen421 Active Member

    Messages:
    894
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thank you so much! I cant believe I didnt think of that.
     
    stephen421, Apr 18, 2009 IP
  4. Mockup-Markup

    Mockup-Markup Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Also you can use the HTML Encoding for the Space which is %20
     
    Mockup-Markup, Apr 20, 2009 IP