Thursday, May 12, 2011

HTML URLS TRICKS


There's no tilde (~) key on my keyboard, and many URLs have tildes in them.
How am I ever going to access those resources?

You can use the escape code sequences to substitute for any character in a URL.
You use a % sign followed by the hexadecimal ASCII code for the symbol.
For a tilde, this is %7E.

I'm tired of typing in http://www.blah.com/ everytime I want to access the blah web site.
Is there some way I can reduce what I have to type?

Try accessing the URL by just typing www.blah.com in your Web browser's address window.
Many browser brands will pre-pend the http:// to your request.
Note that this shortcut won't work when writing out a URL in HTML.

No comments: