External Url Snippets


Assigns the contents of a "url" to the string variable "result".

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...

19 September, 2011   

If you leave a URL in the comment form of a WordPress blog, it will be automatically transformed into a hyperlink. If you want to implement the same functionality in your own website or web app, you can use the following code:

14 January, 2013   

You can link to an external stylesheet whatever pages you want to apply it to.

11 April, 2013   

Pull external HTML code from a file right into your webpage

PHP code example for redirecting from old URL to new URL

You can use a url shortener with Twitter such as tinyurl.com

CSS code snippet for Style Links Depending on Destination

Fortran programmer should always write new code in Fortran 90 or Fortran 95, but for those of you stuck on a desert island with only a FORTRAN 77 compiler at your disposal, here's a way to write a recursive subroutine. FORTRAN 77 subroutines and functions are not allowed to call themselves directly. Attempting to do such will result in a compile...

23 December, 2015   

It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.

11 October, 2018   

C++Code Snippets to Write a character using cout

19 February, 2013   

A small function to find the current URL of the page

02 June, 2012   

This code removes all special characters from the given URL and make it SEO friendly.

13 December, 2012   

CSS trick to display the URL from the href attribute after each link

01 February, 2011   

Associative Array Syntax

29 July, 2015   

Apache code example shows how to remove .php from URL

26 January, 2013   

jQuery code example to open link in a new window

Convert a string of text and ad hyperlinks to all the URLs. We loop through each URL and add a hyperlink

05 August, 2015   

Shows how to access the HTTP headers from a given web adress.

20 November, 2012   

If you want to store your stylesheet somewhere on your site as a separate file, you can link to it on whatever pages you want to apply it to. Just use this line of code, which goes into the <head> of your HTML document: