jQuery Plugin That Converts Plain Text URLs Into HTML Links | Linkify

jquery-linkify-plugin

Linkify is a jQuery plugin for quickly and easily wrapping plain text URLs and IP addresses into HTML tags.

convert html code to url link, url to hyperlink converter, convert text to url link online, convert link to short url, html to url link, url to html file, html convert text to link

Features:

  • Defines links without the need for a protocol prefix such as “https://”.
  • Defines MAILTO links.
  • Specifies IP addresses.

How to make use of it:

1. Include the jQuery Linkify plugin.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="js/jquery-linkify.min.js"></script>

2. Call the function to enable the plugin in a specific container.

$("#container").linkify();

3. Default options.

$("#container").linkify({

// CSS class for links
className: "linkified",

// add target attribute to links
target: "_self",

// add nofollow attribute to links
nofollow: false

});

Convert URLs & Emails Into Html Links, jQuery Linkify Plugin/Github


See Demo And Download

Official Website(planettelex): Click Here

This superior jQuery/javascript plugin is developed by planettelex. For extra advanced usage, please go to the official website.